- Home /
Possible to change material as particles are emitted, so each particle has different material?
is this possible and how?
1st Particle has material A 2nd Particle has material B 3rd Particle has material C 4th Particle has material A ....
5th Particle goes back to material A 6th Particle goes back to material B
etc etc...
I do mean materials, not textures.
Answer by Eric5h5 · Dec 24, 2010 at 07:08 AM
No, a particle system uses the same material for all particles. It would be too slow otherwise.
So the feature that allows me to set "Size" of the materials array for the particle renderer ONLY allows for ALL those materials to display at once on each particle? Not to cycle through them?
Correct. A particle system is a single mesh, so whatever applies to one particle applies to them all.
Answer by femi · Dec 26, 2010 at 02:53 PM
You could have several particle systems with different materials / parameters under a single parent node. Such system could be made to appear as a single particle system with different sorts of particles.
On the other hand, this answer: http://answers.unity3d.com/questions/32087/how-can-i-emit-particles-with-different-textures-on-them suggests you could have several materials in the array of the particle renderer. I haven't tried this yet though.
what do you mean by node? An empty game object with multiple particle systems attached to it?
Sorry, yes, I meant GameObject. You will have a parent GameObject to position your "compound particle system" and several child GameObjects with Particle Systems with different settings (including materials) attached to it. I have such construct here: http://vimeo.com/18146747 each building is made of at least two particle systems - one with billboard particles and one with stretched (which show up only when the camera is moving
Your answer
Follow this Question
Related Questions
changing the color of particles using the legacy particle animator? 2 Answers
How do i change default material ? 1 Answer
Colors does not aplying to particle system with mesh render mode + material with standard shader. 2 Answers
Changing Material between multiple ones 2 Answers
Scaling of instantiated ParticleSystem 0 Answers