Ai UserData Color

Further Reading
See User Data Shaders in the Arnold User Guide for the full shader documentation.

Different colored models are driven by one Ai UserData Color shader

This short tutorial covers how to use the Ai UserData Color shader to assign a single shader with different colors to the three models in the scene.

The scene can be downloaded here.

Robots with one shader assigned to them all

Select the Focus button to select the robot model's shape node

Add Attribute

Add the name 'mtoa_constant_color' and change the Data Type to Vector

RGB robots with metallic eyes

Default Value

Change the default_value color to white or middle drag a white shader onto this attribute

default_value has been changed to white for the eyeballs