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 the name 'mtoa_constant_color' and change the Data Type to Vector |
With the robot shape node selected, open up Extra Attributes at the bottom of the attribute editor. You should see the new Mtoa Constant Color attribute with three vector fields for each RGB channel.
RGB robots with metallic eyes |
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 |