question

Eden Exposito avatar image
Eden Exposito asked ·

AOV "default shader" function C4toA

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!

c4dtoashadersaov
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Eden Exposito avatar image
Eden Exposito answered ·

Perfect @Peter Horvath option B is that I'm searching.

Thanks again!

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

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.


custom-aov.png (124.8 KiB)
aov-shader.png (283.5 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.