How to view value of node output?

My current situation with Cycles nodes:
I'm trying to make particles turn from dark to bright in time. So the Particle Info node has output "Age". But Sticking that value into Mix node produces no or complete change in the mix. So I start trying to math-fix it. I found out I can divide the value and that makes it work, but the particles turn from one to the other too fast, I can only control how far off they suddenly change.

How am I supposed to understand the values? Is trial and error the only way?

• possible duplicate of "Map Range" node equivalent for Material nodes? Sep 13, 2013 at 18:37
• I realize the wording you use is different, but the answer I gave to this question answers this question directly. (ie, How to make particles turn from dark to bright in time.) Sep 13, 2013 at 18:38
• @zeffii, yes your answer does the trick, but I think he asked more about how to "visualize" the values of a node's output (and understand it). I can't figure out how to, though... Sep 14, 2013 at 22:33
• could you visualize it with a combiner node to produce a color? Sep 15, 2013 at 6:54
• Just connect it to an emission shader. This acts as a sort of viewer node - it has no shading on it and is quick to render. Possible duplicate of blender.stackexchange.com/questions/1691/… Sep 16, 2013 at 9:20

The Age output of the Particle Info node is measured in frames (like the particle setting itself). So the simplest way of normalizing the value (get it into 0..1 range) is to divide by the Life setting of the particle system:

You can also divide by the Lifetime output of Particle Info, giving the relative age for each particle:

Note however that the Lifetime value can vary for each particle depending on the Random factor in particle settings:

Divide by constant:

Divide by Lifetime (with Random = 0.75)

• Ok, but in general, how do we know the output range of a node? May 11, 2021 at 11:13