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 missing cases for MaterilaX closure refraction index detection #1557

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

fpsunflower
Copy link
Contributor

This allows the refraction index to be detected even if a medium closure
is not present. Additionally, the medium detection now traverses layer()
closures.

@lgritz
Copy link
Collaborator

lgritz commented Aug 22, 2022

The CI failures on the "bleeding edge" and "clang14" test are both just the render-microfacet issue again (hopefully made more rare by #1558). They can be ignored for the sake of this PR.

But the failed "clang-format" test does point out some formatting fixes, you just need to run the touched files through clang-format.

@fpsunflower
Copy link
Contributor Author

This PR is related to the discussion here: AcademySoftwareFoundation/MaterialX#1039

This allows the refraction index to be detected even if a medium closure
is not present. Additionally, the medium detection now traverses layer()
closures.

Signed-off-by: Chris Kulla <[email protected]>
@lgritz lgritz merged commit 9f8e92c into AcademySoftwareFoundation:main Aug 23, 2022
lgritz pushed a commit to lgritz/OpenShadingLanguage that referenced this pull request Aug 23, 2022
…cademySoftwareFoundation#1557)

This allows the refraction index to be detected even if a medium closure
is not present. Additionally, the medium detection now traverses layer()
closures.

Signed-off-by: Chris Kulla <[email protected]>
@fpsunflower fpsunflower deleted the new-mx-ior-logic branch October 28, 2024 03:43
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