Hello,
I'm trying to create a custom AOV to apply one shader (custom motion vector) to all objects in scene.
For that I found a possible solution in MtoA due that is possible add a "default shader" to new AOV for all objects in scene.
https://support.solidangle.com/display/AFMUG/Custom+Motion+Vector+AOV+with+Motion+Vector+shader
How I can replicate this behaviour in C4toA?
Add this custom motion vector to every shader in my scene is a madness (too many elements). I suposse that may exists a clever method to do that.
Any proposal?
Thanks!
You have two options:
A) Add a Cutom AOV tag to the objects with your shader. You can group your objects and add the tag to a parent.
B) Connect your shader to an aov_write shader and add it as an AOV shader in the render settings. AOV shaders are executed for all objects in the scene. Note that they are also executed for the background.