-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAYA-105389 - Displacement export #844
Conversation
Add registry-based exporter for the displacementShader found in Maya displacement workflows. Outputs to the UsdPreviewSurface that got created when the surface shader was exported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mostly looks good to me, but I think we should drop the requirement that the exported Material
have a UsdPreviewSurface
shader connected to its surface
terminal. I can kind of see the desire to try to collapse the surfaceShader
and displacementShader
connections in Maya onto a single UsdPreviewSurface
Shader
in USD, but I don't think that's necessary. I think it'll only make it tougher when we want to support non-UsdPreviewSurface
shading networks with displacement.
test/lib/usd/translators/UsdExportDisplacementTest/SimpleDisplacement.ma
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good to me!
Add registry-based exporter for the displacementShader found in Maya displacement workflows. Outputs to the UsdPreviewSurface that got created when the surface shader was exported.