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

Ensure schlick is available when using clearcoat with GGX #100081

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented Dec 6, 2024

Fixes bug reported here: #99136 (comment)

Clearcoat used to be calculated after specular GGX. So it only recalculated cLdotH5 if not using GGX. Now clearcoat is calculated first, so the logic needs to be reversed.

@Repiteo Repiteo merged commit 25122e7 into godotengine:master Dec 10, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 10, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants