Skip to content

Conversation

@JGamache-autodesk
Copy link
Contributor

I am experimenting with OpenPBR to UsdPreviewSurface export code in Maya and tried chaining the two translator graphs already provided in MaterialX. Results are quite good, except when the subsurface color is extremely different from the base color.

This can be fixed by computing a dielectric base albedo that mixes the scaled base color and the subsurface color. With this change in place, the results are quite interesting:
ConverterTestRig
Without this fix, the UsdPreviewSurface sphere would be bright orange instead of purple.
The test rig is very simple:
ConverterTestRig.zip

Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this improvement, @JGamache-autodesk!

@jstone-lucasfilm jstone-lucasfilm merged commit f9a4222 into AcademySoftwareFoundation:main Dec 4, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants