We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
The contact shadow example from @marcofugaro, when viewed from further away or with increased plane size, starts to flimmer and get distorted shadows.
To Reproduce
Basicly just dolly out far enough in the example. I made a live example which shows it better.
https://jsfiddle.net/h0jmwvpd/2/
Expected behavior
The shadows should stay static. No artifacts, no flimmering.
Platform:
The text was updated successfully, but these errors were encountered:
It looks like a depth precision issue because two planes are added on top of eachother with a small offset:
three.js/examples/webgl_shadow_contact.html
Line 138 in 9694de0
I think using polygonOffset should fix this.
Sorry, something went wrong.
Yep, that worked! Thanks I can make a PR to update the example if you want
@Fluqz That would be great!
Successfully merging a pull request may close this issue.
Describe the bug
The contact shadow example from @marcofugaro, when viewed from further away or with increased plane size, starts to flimmer and get distorted shadows.
To Reproduce
Basicly just dolly out far enough in the example.
I made a live example which shows it better.
https://jsfiddle.net/h0jmwvpd/2/
Expected behavior
The shadows should stay static. No artifacts, no flimmering.
Platform:
The text was updated successfully, but these errors were encountered: