Hello,
Thanks for reading my question.
Overview
The setup is that I want to create a simple Niagara Emitter that spawns particles, and changes color from white to black over its lifetime.
What I tried
However, I can’t seem to get the effect to work. I tried to do this by:
-
setting the particle’s lifetime to 2.0
-
selecting ‘Direct Set’ under Color Mode and choosing ‘Color from Curve’
- under the ‘Curves’ tab I set the key data to 1.0 at the start and 0.0 at the end. My assumption is that some kind of value is taken from the graph at a point in time and this value is used to calculate which color in the Gradient (defined in the ‘Gradient’ tab) to use.
- I didn’t find much documentation on this, as the official documentation doesn’t give me much to work with:
- I then set the Gradient under the ‘Gradient’ tab to be a simple white to black transition.
I have also set up the particle material simply like so:
Expected Outcome
What I expected was that at t=0, the value ‘1’ will be obtained from the Color Curve (since it is the start of the particle’s lifetime), and this value is used to index the Gradient to get the color to use for the particle (which is black on the rightmost side)
Then at t=2, which is the end of the particle’s lifetime, the value ‘0’ will be obtained from the Color Curve, so the corresponding color for the particle should now be pure white.
What I wanted to see in the preview is simply the particle turning from black to white over 2 seconds. Why is this not happening?
Thanks in advance.