Skip to content Skip to sidebar Skip to footer

Procedurally Generated Texture For Particle With Three.js

My goal is to create a particle system that involve procedurally generated texture for each particle (vertices), but I find it difficult to create a prototype of such particle syst

Solution 1:

There is nothing you can do about question 1. Use ParticleCanvasMaterial for CanvasRenderer.

Regarding 2 and 3, you can have a procedurally-generated texture with ParticleBasicMaterial and WebGLRenderer. Here is one with a circular texture and random vertex colors: http://jsfiddle.net/7yDGy/1/

Solution 2:

Why not load an image? You can always tweak its attribues on the fly, rahter than shoving whole new blocks of pixels around.

Post a Comment for "Procedurally Generated Texture For Particle With Three.js"