Create a custom AOV pass

   5850   1   1
User Avatar
Member
1 posts
Joined: 10月 2021
オフライン
Hi, I have a question. I have a texture applied to an object that I'm using as an RGB mask and want to render this pass as a separate AOV in Karma. Basically, I want to create a custom AOV pass with a specific material and constant shader
User Avatar
Member
8173 posts
Joined: 9月 2011
オフライン
The method used for Mantra should still work when using Mantra shaders in Karma CPU--bind vops set to export.
When using MaterialX shaders, the mtlxdot node is used to create arbitrary exports, but they need to be wired inline with the shader. This complicates exporting utility passes that don't influence the material. A workaround is to multiply the value by 0 and add it to an input that is used.

Attached is an example of each way
Edited by jsmack - 2021年10月29日 15:18:39

Attachments:
karma_aovs.hip (920.1 KB)

  • Quick Links