Different colored models are driven by one Ai UserData Color node

This short tutorial covers how to use the Ai UserData Color node 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