We will cover a way to write custom color information (set as the beauty render) triggered by an Ai Utility shader to a particular AOV. If you want to have, for example, 'Object ID' as one of your AOVs.
The Maya scene is available here.
The Ai WriteColor shader can also be used to achieve a similar effect.



Drag Utility shader onto ObjectID of standard_surface SG
The Ai Utility that is connected to the custom AOV will only be executed in objects with that particular shader.
Now the custom 'ObjectID' AOV will get its value from the Ai Utility shader, but you can also use the rest of the standard AOV's:
![]() |
![]() |
| Beauty render | Ai Utility node rendered via 'ObjectID' AOV |