PDA

View Full Version : Particle instance material colour determined by age of particle


morgn
01-31-2007, 11:31 AM
Hi,

Im looking at making fire from particles, but using an instanced group of cubes. I want the same effect from the particles that you get in the sample Fire xsi file, so that the colour changes over the age of the particle. (im not sure that the colour is actually being powered by the age, because the animation ref is set to birth)

Does anyone know how to get the material of the cube to be relative to the age of the particle, or behave in the same way as the fire?

Sweet,

Morgn.

Rens
01-31-2007, 04:46 PM
Particle Gradient doesn't affect instances so no luck there. Maybe it could work with scripting but I doubt it. Since the cube will be instanced and it isn't linked to any particle you'll have a hard time getting the particle ID of the current instance.

CGTalk Moderation
01-31-2007, 04:46 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.