THREE.Cloud:用于Three.js的基于光线跟踪的云对象

时间:2021-05-11 23:47:09
【文件属性】:
文件名称:THREE.Cloud:用于Three.js的基于光线跟踪的云对象
文件大小:5.29MB
文件格式:ZIP
更新时间:2021-05-11 23:47:09
JavaScript 三云 Three.js的基于射线跟踪的云对象。 例子 var scene = new THREE . Scene ( ) ; var cloud = new THREE . Cloud ( 0xeeeeee ) ; cloud . scale . set ( 3 , 3 , 3 ) ; cloud . position . set ( 0 , 1 , 0 ) ; cloud . rotation . set ( Math . PI * 0.25 , Math . PI * 0.5 , 0 ) ; scene . add ( cloud ) ; 描述 THREE.Cloud扩展了THREE.Mesh对象。 THREE.Cloud的几何形状为THREE.BoxGeometry,而云的形状由分形噪声着色器生成。 演示版 资料来源 体积云-http: Shadertoy:云-
【文件预览】:
THREE.Cloud-master
----Cloud.js(1KB)
----CloudShader.js(3KB)
----LICENSE(1KB)
----README.md(945B)
----Captures()
--------clouds.gif(4.4MB)
--------wireframe.gif(1.07MB)

网友评论