Jump to content

Change the particle color with time


photo

Recommended Posts

Posted

I want to change an emitter's particle's color from light to dark with time.

Not change all the particles, just change part of the particles' color.

Is it doable? 

 

Thanks

Posted

Usage of 2 separate ObjectParticles instances (one with color variation, one without) and usage of 2 particle_base materials with different attenuation textures assigned ?

Posted

Hello Lukas,

you also can do it via tracker tool. Just change color parameter of a material over time: https://developer.unigine.com/en/docs/2.7.1/editor2/tools/tracker/basics/

You'll need a single track that controls diffuse color of particles material. In Tracker tool select Add -> material -> parameterColor.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi, morbid

But if I change the material color, all the particle's color will change, I don't want all the particles' color change,   I just want part's of the particles' color change. 

For instance, if a new particle was emitted, it's color is white, after 20 seconds it changed to back.  

So it means all the new particle emitted has the same color, after the 20s, they will change to another color. 

Posted

particle_base material attenuation texture provides this

×
×
  • Create New...