Mtlx ambientocclusion definition

   Views 1950   Replies 1   Subscribers 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
User Avatar
Member
11 posts
Joined: May 2024
Offline
Hypershader
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.


I've tried to reproduce this algorithm here and it doesn't work - although I'm just learning....

Your text to link here... [www.sidefx.com]
Edited by Fordencore1966 - May 28, 2024 14:47:34
  • Quick Links