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 name | Parents | MFn type | Compatible function sets |
---|
particleColorMapper | dependNode | kParticleColorMapper | kBase kNamedObject kDependencyNode kParticleColorMapper |
Related nodes
particleTranspMapper, particleIncandMapper, particleAgeMapper, particleSamplerInfo, particleCloud
Attributes (4)
particleColor, particleColorB, particleColorG, particleColorR
Long name (short name) | Type | Default | Flags |
---|
|
particleColor
(pc )
| float3 | | |
|
| particleColorR
(pcr )
| float | 0.0 | | |
|
| particleColorG
(pcg )
| float | 0.0 | | |
|
| particleColorB
(pcb )
| float | 0.0 | | |
|