Vector Attribute

 
 
 

Category: Data > Attribute

Shader Family: Texture

Output: Vector

This shader gets ICE attributes of the Vector data type created in an ICE tree. To use this shader, you must first make sure that the object or its components have the appropriate attribute created for it in an ICE tree.

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 2D vector, 3D vector, or Rotation data type, such as PointVelocity or PointPosition.

The attribute names show up in this list only if they are defined in an 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 XYZ values that you want the attribute to use in the render tree.

Render Tree Usage

Plugs into any port on a shader that supports Vector data, such as the input ports on the Particle Gradient shader. For example, you could drive the gradient color based on the velocity of particles defined via the Vector Attribute shader.

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

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License