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 comment for cascaded shadows #5430

Merged
merged 1 commit into from Jun 23, 2023

Conversation

GSterbrant
Copy link
Contributor

No description provided.

@GSterbrant GSterbrant added the area: graphics Graphics related issue label Jun 22, 2023
@GSterbrant GSterbrant self-assigned this Jun 22, 2023
@@ -1263,7 +1263,7 @@ class LitShader {

backend.append(` dShadowCoord = getShadowSampleCoord${i}(${shadowMatrix}, light${i}_shadowParams, vPositionW, dLightPosW, dLightDirW, dLightDirNormW, dVertexNormalW);`);

// If cascades are used, fade between them
// Fade shadow at edges
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Fade shadow at edges
// fade shadow at the far shadow distance

@GSterbrant GSterbrant merged commit 4400268 into main Jun 23, 2023
7 checks passed
@GSterbrant GSterbrant deleted the gsterbrant-fix-directional-shadow-fade branch June 23, 2023 11:53
slimbuck pushed a commit that referenced this pull request Jun 23, 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