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

KHR_materials_anisotropy should be exclusive vs unlit #2347

Merged
merged 2 commits into from
Nov 16, 2023
Merged

KHR_materials_anisotropy should be exclusive vs unlit #2347

merged 2 commits into from
Nov 16, 2023

Conversation

zeux
Copy link
Contributor

@zeux zeux commented Nov 16, 2023

This exclusion note is present in every single material extension except for this one. I assume this is an omission since it's not clear why anisotropy specifically would be okay to mix with unlit and every other KHR_materials_ extension isn't.

Note that other material extensions also say it's not okay to mix them with KHR_materials_pbrSpecularGlossiness. I did not add this exclusion for now to reduce the scope of the change but let me know if that is preferred here as well.

If we don't end up adding this exclusion I feel like we should explicitly clarify the opposite.

This is present in every single material extension except for this one.
@lexaknyazev
Copy link
Member

Good catch, it's indeed an oversight. Please add the SpecGloss exclusion as well.

Also exclude specular glossiness extension.
@zeux
Copy link
Contributor Author

zeux commented Nov 16, 2023

Added KHR_materials_pbrSpecularGlossiness exclusion.

@lexaknyazev lexaknyazev merged commit 3b7a961 into KhronosGroup:main Nov 16, 2023
1 check passed
@zeux zeux deleted the patch-1 branch November 16, 2023 18:29
abbaswasim pushed a commit to abbaswasim/glTF that referenced this pull request Sep 7, 2024
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.

2 participants