I'm trying to do this: getimagedata() from diferent positions of the same canvas elemente and make each of the imagedata chunks to be the texture of individuals particles in a particle system. I dont want the all the system to have the same texture, rather each particle's texture has to correspond to a a chunk of the image on the canvas. Once I have my imgData[i] array filled with the information, how can I assign each of its elements to the texture value of each particle? (remember, I want each particle to have a different texture that corresponds to each element in the imgData[i] array )
Asked
Active
Viewed 528 times
1 Answers
0
ParticleSystem
only supports a single texture for all particles in the system, and all particles share that texture.

WestLangley
- 102,557
- 10
- 276
- 276
-
hey west, can I simulate a a particle system using sprites? – Memo Lestas Feb 28 '13 at 03:35
-
[see this example](http://mrdoob.github.com/three.js/examples/webgl_particles_sprites.html). – WestLangley Feb 28 '13 at 03:49