I have been trying to do this for a while now, and I cant figure it out.
Couldnt find anything about this in Solaris documentation or these forums.
I want to be able to split out my lights into different render layers, RGBA_key, RGBA_rim, RGBA_sky etc and be able to input them into the AOVs of the Arnold Render Settings node.
The RGBA AOV works fine, but the second I put in any of those custom AOVs the node errors out.
1. add RGBA render var node with settings:
data type: color4f
source name: color
source type: raw
format: color4f
2. similarly add render var for each light but change:
source type: LPE
source name (example for key light): C.*<L.'key'>
on key light node you need to set AOV Light group to "key". repeat for every light
3. add Render Product node. change settings:
Ordered render vars - paste here all primitive paths of light render vars nodes separated by space. Example:
/Render/Products/Vars/RGBA /Render/Products/Vars/key /Render/Products/Vars/dome
or add all using /Render/Products/Vars/*
4. you need to use "render settings" node. "arnold render settings" node does not support light AOVs as far as I know.
paste primitive path of your render product node into "ordered products" of the "render settings". example - /Render/Products/renderproduct
For clarification, after months and months the HtoA "Arnold Render Settings" node still doesn't support custom AOV such as lightgroups or anything else you might try make.
So in a production environment you basically have to ignore it and build everything from scratch which is quite frustrating.
Can't find what you're looking for? Ask the community or share your knowledge.