Hi,
I have some custom shader elements I'd like to export in a materialx shader.
As much I as could find out the only way to write custom aovs from a mtlx shading network is to create a mtlx dot node and write my aov name into the notes input, e.g. aov:my_great_aov and create the appropriate renderVar.
Can anyone approve this, or did I miss another way to do it?
Custom aovs for materialX shaders.
271 3 2-
- houdiniUsers
- Member
- 7 posts
- Joined: 5月 2020
- Offline
-
- jsmack
- Member
- 8364 posts
- Joined: 9月 2011
- Offline
-
- edlgm
- Member
- 39 posts
- Joined: 10月 2020
- Online
-
- houdiniUsers
- Member
- 7 posts
- Joined: 5月 2020
- Offline
Unfortunately we export our shading networks from Maya as materialx so we do not have access to the karma aov node.
But it looks as if only a shading connection is needed in the surface shader e.g.:
color3f inputs:aov:mtlxAOV.connect = </materials/mtlxmaterial/mtlxcheckerboard1.outputs:out>
If I insert this line in my shader I was able to write the mtlx outputs. So I can manipulate the material USD file after export and add this connection to my exported surface shaders and it could work.
But it looks as if only a shading connection is needed in the surface shader e.g.:
color3f inputs:aov:mtlxAOV.connect = </materials/mtlxmaterial/mtlxcheckerboard1.outputs:out>
If I insert this line in my shader I was able to write the mtlx outputs. So I can manipulate the material USD file after export and add this connection to my exported surface shaders and it could work.
Edited by houdiniUsers - 2026年6月30日 04:14:13
-
- Quick Links


