Mtlx ambientocclusion definition

   1376   0   2
User Avatar
Member
37 posts
Joined: March 2017
Offline
Hey,

Since there is no ambient occlusion definition that ships with MaterialX other than an incomplete osl definition I was wondering how this node works?

I would like to write my own definition of Ambient Occlusion as well as other useful shaders such as curvature so I would love some insights into how this node works.

Also I was wondering how exactly karma interprets MaterialX shaders since it doesn’t use HdMtlxCreateMtlxDocumentFromHdNetwork So I’m assuming it doesn’t convert the shaders to GLSL. I’m also assuming it doesn’t convert it to Vex due to the lack of compatibility with vex shaders so I’m wondering what the materials are being converted to become usable with Karma?

Best,
Rich
Edited by Hypershader - April 20, 2022 04:09:41
  • Quick Links