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

Incorrect handling of shaders referenced in multiple materials #1940

Closed
cpichard opened this issue Jun 19, 2024 · 1 comment
Closed

Incorrect handling of shaders referenced in multiple materials #1940

cpichard opened this issue Jun 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cpichard
Copy link
Collaborator

Describe the bug
When several materials or shaders are referencing a shader that belongs to another material, the render delegate will assign the shader to only one material.

To Reproduce
Unzip the following scene and render with an arnold render delegate
test.usda.zip

Only one light has the light blocker where both should have it.

Used Software Versions

  • Arnold: 7.3.2.0
@cpichard cpichard added the bug Something isn't working label Jun 19, 2024
@autodesk-oss-arnold-bot
Copy link

Issue synced internally to ARNOLD-15203

sebastienblor added a commit to sebastienblor/arnold-usd that referenced this issue Jun 24, 2024
sebastienblor added a commit to sebastienblor/arnold-usd that referenced this issue Jun 25, 2024
sebastienblor added a commit that referenced this issue Jun 25, 2024
* Support shader shared by multiple materials #1940

* Add changelog

* Improve connection resolution for shaders which are not under the hierarchy of materials #1940
sebastienblor added a commit that referenced this issue Jun 26, 2024
* Ensure polymesh topology attributes are not written to USD when not set #1914

* Fix behaviour when the vidxs array is null #1914 (#1915)

* Fix instance primvar indices with multiple prototypes #1923 (#1925)

* Ensure subdiv_iterations is not set uselessly during procedural updates (#1931)

* Ensure subdiv_iterations is not set uselessly during procedural updates #1929

(cherry picked from commit 1adc860)

* Add changelog

* check if the VtValue is empty before doing a UncheckedGet (#1934)

* update changelog for 7.3.2.1 release (#1943)

* Support shaders shared by multiple materials (#1945)

* Support shader shared by multiple materials #1940

* Add changelog

* Improve connection resolution for shaders which are not under the hierarchy of materials #1940

---------

Co-authored-by: cpichard <cpichard@users.noreply.github.com>
@github-project-automation github-project-automation bot moved this from Todo to Done in Arnold USD Jun 28, 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
Status: Done
Development

No branches or pull requests

2 participants