Three.js Particles - Falling Snow
tussiez (1525)

Three.js Particles - Falling Snow

I was trying to figure out how exactly I would implement weather into SortaCraft, and I gave up earlier since I thought I needed a complex particle system. However, I found out recently that Three.js already has a pretty simple particle system (THREE.Points), so I decided to use that, and test it here.

How to use

Use your mouse to look around (click and drag, or right click too), and mess with the snow using the controls. Press Update after making changes.

Please allow a few seconds for the textures to load.
Enjoy!
EDIT: Why is this on Trending?!

You are viewing a single comment. View All
tussiez (1525)

@Baconman321 camera = new THREE.PerspectiveCamera(fov,aspect,near,far)
fov = field of view, I like 60-70
aspect = aspect ratio, use "width/height" of canvas
near = near plane of camera, usually use .1
far = max render distance of camera, depends (Usually 500-1000) depends on your needs

EDIT:Dunno why it has a newline after new