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

MaterialX lighting integration broken #2411

Closed
rakroo opened this issue Apr 26, 2023 · 1 comment
Closed

MaterialX lighting integration broken #2411

rakroo opened this issue Apr 26, 2023 · 1 comment

Comments

@rakroo
Copy link

rakroo commented Apr 26, 2023

Description of Issue

We ran into an issue with lighting when a MaterialX material is bound. I have attached the repro scene file. The file contains two materials - UsdPreviewSurface and MaterialX. You can switch between the binding on lines:14/15. The scene has a single distant light.

Steps to Reproduce

  1. Open the attached usd file.
  2. Switch between material bindings on line 14/15
  3. When in MaterialX binding mode ensure you are using Scene Lights to reproduce the issue.
  4. When you switch to default lighting the issue no longer manifests

usdview with UsdPreviewSurface and Scene Light
usdpreviewlighting
usdview with MaterialX and Scene Light
materialXlighting
usdview with Default Light
materialxdefault

materialxLightingBroken.zip

System Information (OS, Hardware)

Windows 10

Package Versions

USD 23.02

Build Flags

Default flags

@tallytalwar
Copy link
Contributor

Filed as internal issue #USD-8282

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

No branches or pull requests

2 participants