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

Simplify the normal offset shadow coordinate method for clustered point lights #5425

Merged
merged 1 commit into from Jun 21, 2023

Conversation

GSterbrant
Copy link
Contributor

The normalOffsetPointShadow method previously changed the dLightDirW parameter to only use it on the line below. This was left in the clustered light shader for backwards compatibility, but this can now be changed to return the offsetted direction, making the code much cleaner.

…he direction instead of changing dLightDirW.
@GSterbrant GSterbrant added the area: graphics Graphics related issue label Jun 21, 2023
@GSterbrant GSterbrant self-assigned this Jun 21, 2023
@GSterbrant GSterbrant merged commit 039da2e into main Jun 21, 2023
7 checks passed
@GSterbrant GSterbrant deleted the gsterbrant-refactor-cluster-shadow-coord branch June 21, 2023 14:41
slimbuck pushed a commit that referenced this pull request Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants