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

Add shadowing support to MaterialX shaders in HdStorm #1680

Closed

Conversation

vlasovi
Copy link
Contributor

@vlasovi vlasovi commented Nov 10, 2021

Description of Change(s)

Insert HdStorm's shadowing code into MaterialX shader during the code gen.

Fixes Issue(s)

Fixes the bug that there are no shadows in HdStorm on geometry with MaterialX material applied

@jilliene
Copy link

Filed as internal issue #USD-7019

@klucknav
Copy link
Contributor

klucknav commented Jan 8, 2022

Thank you for the change. Unfortunately there are a handful of changes we would like to make, so we cannot directly merge it. But we have a fix for the underlying issue, based on your change, that should be in dev soon. Thanks again.

@klucknav klucknav closed this Jan 8, 2022
pixar-oss pushed a commit that referenced this pull request Jan 11, 2022
This calculates a per-light shadowOcclusion value, stores it in the lightData struct and uses within the direct lighting loop.

Based on Github PR#1680 by @vlasovi

Fixes #1680

(Internal change: 2208747)
@AdamFelt AdamFelt deleted the ogs/mtlx_shadows branch October 11, 2022 16:12
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.

3 participants