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

Vulkan: DirectionalLight3D still exposes an Optimized shadow depth range, but this mode is no longer implemented #50088

Closed
Calinou opened this issue Jul 2, 2021 · 0 comments · Fixed by #50090

Comments

@Calinou
Copy link
Member

Calinou commented Jul 2, 2021

Godot version

4.0.dev (659178e)

System information

Fedora 34, GeForce GTX 1080 (NVIDIA 465.31)

Issue description

DirectionalLight3D still exposes an Optimized shadow depth range, but this mode is no longer implemented. It was likely removed in #45023 considering it has few benefits compared to the downsides. While it improves shadow detail, it makes shadows wobble all over the place when the camera moves or rotates.

Using the Optimized shadow depth range in the master branch will not improve shadow detail, but will still make shadows wobble around when the camera moves.

Steps to reproduce

  • Add a DirectionalLight3D node and enable Shadows
  • Set the directional shadow depth range to Optimized instead of the default Stable.

Minimal reproduction project

test_directionallight3d_optimized.zip

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

Successfully merging a pull request may close this issue.

1 participant