Custom attributes / masks karma material x

   1697   5   0
User Avatar
Member
27 posts
Joined: Nov. 2022
Online
Hey,

a basic question regarding karma an materialx. Lets say I want a gradient or color to become a custom aov. How would I do that? getting it from geometry level into the aov?
User Avatar
Member
8041 posts
Joined: Sept. 2011
Offline
If it's on the geometry and not something created in the shader, then it can be added in the render vars section of the karma render settings (Karma) node. Set the source type to Primvar.
User Avatar
Member
27 posts
Joined: Nov. 2022
Online
That doesnt seem to work? whatam I doing wrong here?

Attachments:
untitled.hiplc (625.5 KB)

User Avatar
Member
27 posts
Joined: Nov. 2022
Online
so like this?

Attachments:
dada.JPG (50.7 KB)

User Avatar
Member
27 posts
Joined: Nov. 2022
Online
got it
User Avatar
Member
2 posts
Joined: May 2016
Offline
it started to work for me when I removed the "ray:"
  • Quick Links