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

Fix disabling derivatives not generating vObjectSpaceUpW. #4798

Merged
merged 1 commit into from Oct 31, 2022

Conversation

GSterbrant
Copy link
Contributor

Description

Fixes #4772 by generating the vObjectSpaceUpW not only when GGX is enabled but also when we don't use standard derivatives, thus allowing us to calculate the TBN without them.

@GSterbrant GSterbrant merged commit ec5fb3f into main Oct 31, 2022
@GSterbrant GSterbrant deleted the gsterbrant_derivatives_fix branch October 31, 2022 11:40
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.

Shader compilation issue on devices without extStandardDerivatives
2 participants