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] Increase the shadow resolution in model-outline example to avoid banding #4491

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Aug 1, 2022

Fixes #4473

by default, a shadow resolution for non-clustered light is 1024, which is the resolution for the cubemap face in face of omni light. Clustered atlas res was increased to provide similar resolution, to avoid banding - as the offset constants are resolution dependent.

@mvaligursky mvaligursky self-assigned this Aug 1, 2022
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Aug 1, 2022
@mvaligursky mvaligursky merged commit 0abd2cc into main Aug 1, 2022
@mvaligursky mvaligursky deleted the mvaligursky-shadow-res-outline branch August 1, 2022 10:03
slimbuck pushed a commit that referenced this pull request Aug 1, 2022
…d banding (#4491)

Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
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.

Shadow acne artifacts in highlight engine demo
2 participants