Karma layer material and custom AOVs

   214   1   1
User Avatar
Member
11 posts
Joined: 11月 2018
Offline
Hi,
I am layering materials with karma.
I assigned the collect node directly under the materiallibrary, which I think is quite an incorrect method, but it's working anyway.

But there is a problem when creating a custom AOVs.
Float values etc, cannot connect to collect node.
I tried subnetOutputsNode, but it couldn't render.

Does anyone have any good ideas or the right way to do it?
Edited by shirak - 2024年11月7日 08:00:02

Attachments:
layer.png (1.0 MB)
mtlxLayer_aov.hip (1.9 MB)

User Avatar
Member
2 posts
Joined: 9月 2022
Offline
What I'd do here is use seperate standard shaders inside one Karma material node, and layer the shaders using mtlxmix nodes. (I can't double check things, I'm not at my computer.) Then I'd hook up Karma AOV's nodes to the output inside as usual.

However, there may be a problem layering more than 2 shaders together this way from what I've been hearing. So I'm not 100% sure things would work, if I'm misremembering, etc. and can't test it myself at the moment.
Wort wort wort
  • Quick Links