|On this page|
The color (
Cd) attribute affects the display of the wireframe, and of faces in non-VEX shaded mode. The default shader in mantra, and many other shaders, will also use the attribute for rendering.
The added attribute may be a point, primitive, vertex, or detail color.
The geometry group to apply the color to.
What the group is made of.
Where to add the attribute to the geometry.
What sort of color to add. Can be one of:
The same color is applied to all of the group.
A color gradient is applied depending on the position of the entity in the bounding box.
A random color is assigned to each group element.
Ramp from Attribute
An incoming attribute is remapped to color according to the provided ramp.
This is the color to apply when in Constant mode.
This is the random number seed for the Random mode.
The attribute to be remapped into color. If it is a single float, it is indexed directly into the ramp. If it is more than one float, each component is remapped independently.
The incoming range of valid attribute values. Attribute values within this range will be remapped to 0-1 for the ramp lookup, values outside will be clamped.
The following examples include this node.