Skip to content

Ray tracing based cloud object for three.js.

License

Notifications You must be signed in to change notification settings

PcloD/THREE.Cloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THREE.Cloud

Ray tracing based cloud object for three.js.

clouds

Example

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 );

Description

THREE.Cloud is extended THREE.Mesh object. A geometry of THREE.Cloud is THREE.BoxGeometry and cloud shapes are generated by a fractal noise shader.

wireframe

Demo

Demo

Sources

About

Ray tracing based cloud object for three.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%