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

ShadowMap logarithmic DepthBuffer issue #12126

Closed
Fyrestar opened this issue Sep 4, 2017 · 1 comment
Closed

ShadowMap logarithmic DepthBuffer issue #12126

Fyrestar opened this issue Sep 4, 2017 · 1 comment

Comments

@Fyrestar
Copy link

Fyrestar commented Sep 4, 2017

I'm having issues with shadows using logarithmic DepthBuffer and a DirectionalLight. The issue occurs by enabling both castShadow and receiveShadow for a mesh, it basically shadows itself with it's own casted shadow it seems. Where could i fix this?
slog

I randomly found this fiddle you can test it. The sphere gets self-shadowed same as in the image above.
http://jsfiddle.net/zjb1bc2w

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants