-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Screen artifact from Light sources with shadow map PCF filter enabled #2502
Comments
I've reproduced this issue with a spotlight in the MyGame template - it even shows up in the editor. stride/sources/engine/Stride.Rendering/Rendering/Shadows/ShadowMapReceiverBase.sdsl Lines 39 to 41 in 4c46fdc
My understanding is that the first line transforms the pixel position (from world space) into "shadow map texture space". I think the solution might be to do an early exit check if the pixel isn't actually within the shadow map uv space? I couldn't reproduce this issue with the point light, I think it needs a more precise setup to reproduce it, though I suspect it should have the same issue. |
Release Type: Official Release
Version: 4.2.0.2232
Platform(s): Windows
Describe the bug
Point Light and Spot Light with shadow map PCF filter enabled produces a black screen artifact randomly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No screen artifacts should appear.
Screenshots
The text was updated successfully, but these errors were encountered: