Go to: Related nodes. Attributes.

Particle Color Mapper is a utility node used for certain cases when you are rendering particles using Software Rendering.

Normally, when you do Software rendering, you control the particle colors using the Color attribute of the Particle Cloud node. When you do Hardware rendering, you control the particle colors using the attributes in the Particle Shape node. The Particle Shape node allows you to do many things; You can add per-particle attributes, with special expressions to set the colors. These values are all used automatically by the Hardware renderer, but not by the Software renderer. The Particle Color Mapper node allows you to use all these attributes in the Software renderer as well as the Hardware renderer.

To use this node: Create a Particle Age Mapper node. Connect its Particle Color attribute to the Color attribute of the Particle Cloud object associated with the particles you are rendering. Now when you do Software rendering, particles will get their color from the attributes in the particle shape, just like they would if you were doing a Hardware render.

Note: There are differences in result between using hardware rendering and software rendering. In software rendering, for example, color computation takes into account the lighting in the scene. Hardware does not.

This node is MP safe

Node nameParentsMFn typeCompatible function sets
particleColorMapperdependNodekParticleColorMapperkBase
kNamedObject
kDependencyNode
kParticleColorMapper

Related nodes

particleTranspMapper, particleIncandMapper, particleAgeMapper, particleSamplerInfo, particleCloud

Attributes (4)

particleColor, particleColorB, particleColorG, particleColorR

Long name (short name)TypeDefaultFlags
particleColor (pc) float3outputinputconnectablestorable
Particle Color. Connect this attribute to the Color attribute of a Particle Cloud node.
particleColorR (pcr) float0.0outputinputconnectablestorablekeyable
Particle Color red value
particleColorG (pcg) float0.0outputinputconnectablestorablekeyable
Particle Color green value
particleColorB (pcb) float0.0outputinputconnectablestorablekeyable
Particle Color blue value