Skip to content
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

[EMSUSD-1482] Hypershade Create USDPreviewSurface Makes Legacy USDPreviewSurface #3865

Open
Ziethriel opened this issue Jul 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Ziethriel
Copy link

Describe the bug
When using the right click > create menu in the hypershade materials thumbnails workspace, you get the old USDPreviewSurface that shows as a green missing material instead of the new USDPreviewSurface you get with other methods.

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to Hypershade
  2. Right Click in the blank space next to the thumbnails
  3. Navigate the marking menu to Create > Materials > USDPreviewSurface
  4. Observe the 3d preview render shows a green missing material surface.

Expected behavior
The USDPreviewSurface that results should be the same as if you add it from the create interface, or hitting tab in the workspace.

Specs (if applicable):

  • Maya 2025.1
  • MayaUSD 0.28

Additional context
Add any other context about the problem here.

@Ziethriel Ziethriel added the bug Something isn't working label Jul 24, 2024
@santosg87
Copy link
Collaborator

santosg87 commented Jul 29, 2024

thank you for reporting this!

I am able to see the issue as well. for some reason, when creating the usdPreviewSurface material using the marking menu as described here.

the initial connection between the shader and the shadingGroup is done from outColor to Displacement Shader, instead of Surface Shader.

this is also the case with using the general hypershade "create" menu.

one workaround (although, note not ideal, so we would still rather have this be fixed) is to manually switch the connection to the right attribute.

@santosg87 santosg87 changed the title Hypershade Create USDPreviewSurface Makes Legacy USDPreviewSurface [EMSUSD-1482] Hypershade Create USDPreviewSurface Makes Legacy USDPreviewSurface Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants