I've written a little tutorial on how to create custom render passes (i.e. render elements) using custom user variables. For example a pass that puts a texture on some objects but renders the others black, or an AO pass that uses different vrayDirtTextures for certain objects and pure white materials for others.
The tutorial covers two key principles:
1) Exclusion Sets
2) Custom Texture Switch
then applies these two principles with 3 examples:
Example #1: Multiple Materials in a Render Layer
Example #2: Multiple Textures in a Render Pass
Example #3: Custom Occlusion Pass
Here's the link to the tutorial
Hope people find it useful!
The tutorial covers two key principles:
1) Exclusion Sets
2) Custom Texture Switch
then applies these two principles with 3 examples:
Example #1: Multiple Materials in a Render Layer
Example #2: Multiple Textures in a Render Pass
Example #3: Custom Occlusion Pass
Here's the link to the tutorial
Hope people find it useful!