The AOV Write shaders allow you to write float, int, vector, or color data to custom AOVs.
See the AOVs page for more details about how to define a custom AOV in the scene.
Allows parallel evaluation in a shader network.
Input float value to write to the AOV.
Name of the AOV.
For transparent surfaces, this controls if only the first surface writes to the AOV, or if the value from all transparent surfaces is blended together.
AOV Write Int
The AOV Write Int node can be used to create an ObjectID AOV.
'ObjectID' added using the Attribute Create node
'ObjectID' added to AOV Write Int (AOV Name)
AOV Write RGB
The user data node collects the ObjectID attribute from the geometry and passes it to the ObjectID AOV.
Each AOV Write has a passthrough, allowing multiple nodes to be daisy-chained together. However, it may be simpler to use the Passthrough shader, which allows parallel evaluation in a shader network. This will also make it easier to ensure an AOV has been written before being read by placing it further down the eval list.
Shader network using the Passthrough shader