Open portsmouth opened 2 weeks ago
Following up on this issue, here's a good overview of the status of thin-walled dielectric support in MaterialX:
https://github.com/AcademySoftwareFoundation/MaterialX/issues/864
As a quick summary, the thin_walled
flag is available on surface
nodes in MaterialX 1.39, but as of today it only has an MDL implementation, and not yet OSL or GLSL implementations.
Here's a related proposal to use the new thin_walled
feature in the glTF PBR shading model:
https://github.com/AcademySoftwareFoundation/MaterialX/pull/1937
In OpenPBR's thin walled mode, we describe the behavior of the base dielectric as follows:
The "Revisiting Physically Based Shading at Imageworks" notes from Kulla and Conty describe their implementation of this:
This is implemented natively in Arnold.
It is not currently available in MaterialX it seems. So thin-walled glass is a missing feature currently in the MaterialX implementation.