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

Lighting: Adjust shadow bias based on normal and light direction to reduce shadow acne #389

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

BonsaiDen
Copy link
Contributor

Hey there,

just minor improvement based on techniques mentioned in this article: https://learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping

Before
Screenshot at 2023-08-03 22-26-01

After

Screenshot at 2023-08-03 22-25-07

Best regards

@asny asny merged commit 8f34ee6 into asny:master Aug 9, 2023
5 checks passed
@asny
Copy link
Owner

asny commented Aug 9, 2023

Looks great! Thanks for the contribution 🙏

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.

None yet

2 participants