ThreeJs渲染3d,FairyGUI渲染UI


1.从github地址https://github.com/gameatp/FairyGUI-threejs下载库文件

2.index.html里引入fairyguijs库

image-20220302121623967

3.初始化fairygui加载ui资源并渲染到3d窗口上

image-20220302121811866

4.最终效果如下:

image-20220302121855888

相关