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: Disabling shadows for an OmniLight or SpotLight will not apply until the scene is reloaded #50343

Closed
Calinou opened this issue Jul 10, 2021 · 0 comments · Fixed by #64110

Comments

@Calinou
Copy link
Member

Calinou commented Jul 10, 2021

Godot version

4.0.dev (52e3f98)

System information

Fedora 34, GeForce GTX 1080 (NVIDIA 465.31)

Issue description

Disabling shadows for an OmniLight or SpotLight will not apply until the scene is reloaded. Until you reload the scene, an outdated version of the shadowmap will be used.

This bug has been around since April 2020 at least.

Steps to reproduce

  • Add a PlaneMesh and a BoxMesh using two MeshInstance nodes so you can see shadows.
  • Add an OmniLight3D node.
  • Enable shadows on the OmniLight3D node. Move the light around.
  • Disable shadows on the OmniLight3D node. Move the light around.
  • Save the scene then use Scene > Reload Saved Scene.
  • Do the above steps with SpotLight3D as well.

Minimal reproduction project

N/A

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

Successfully merging a pull request may close this issue.

1 participant