Color Attribute
 
 
 

Category: Data > Attribute

Shader Family: Texture

Output: Color

This shader gets ICE attributes of the Color or 4D vector data type created for particles in the ICE tree. To use this shader, you must make sure that the particles first have the appropriate attribute defined for it in its ICE tree, such as the Color or Init_Color attributes.

NoteThe attribute shaders are currently available only for ICE particles.

For general information, see Bringing ICE Data into the Render Tree with Attribute Shaders.

Attribute

Name of the ICE attribute used to drive shader data. This attribute must be a Color or 4D vector type.

The attribute names (such as Color or Init_Color) show up in this list only if they are defined in the point cloud's ICE tree.

The Default Value is used in case an attribute is missing or none has been selected.

Array Index

If the value refers to an array type, you can specify an index value.

Default Value

Set the color value that you want the attribute to use in the render tree.

Render Tree Usage

Plugs into any port on a shader that supports Color data, such as the input ports on the Particle Gradient or a Fractal or Cell Scalar shader.

For an example of using the Color Attribute shader for instanced geometry on particles, see Using the ICE Particle Color in the Render Tree.

When you plug this shader into ports that only accept scalar values, a Color to Scalar converter node is automatically created to convert the values.