MaterialX icon indicating copy to clipboard operation
MaterialX copied to clipboard

WIP: Open OPR - rewrite thin_film layering for compatibility with MDL

Open krohmerNV opened this issue 1 year ago • 0 comments

In the MDL code generator we currently can't handle layering constructs like this: layer(mix(bsdf1, bsdf2, weight), bsdf3) so I propose a workaround that should not change the result but uses an alternative implementation: mix(layer(bsdf1, bsdf3), layer(bsdf2, bsdf3), weight)

krohmerNV avatar Feb 06 '25 11:02 krohmerNV