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

Shadows cast by directional light disappear when viewed from a particular angle #91288

Open
krdluzni opened this issue Apr 28, 2024 · 2 comments

Comments

@krdluzni
Copy link

Tested versions

  • Reproducible in: v4.3.dev5.official [89f70e9], v4.3.dev3.official [36e943b]
  • Not reproducible in: v4.3.dev2.official [3524346]

System information

Godot v4.3.dev5 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 31.0.15.5123) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)

Issue description

Under very specific conditions, shadows cast by a directional light disappear.

Recording.2024-04-28.174951.mp4

Steps to reproduce

  1. Open MRP.
  2. Run.
  3. Press Q to rotate camera to left, and E to rotate camera to right. Rotation must end before next input will be accepted.

Reasonably consistently, when the camera is moved one rotation step to the left of the initial position, the shadows cast in the scene will disappear. Sometimes you need to press Q then E then Q again.

Minimal reproduction project (MRP)

perpendicular_shadow.zip

@krdluzni
Copy link
Author

Suspect #91790 was relevant to this. Testing the MRP on a master branch build from after that pull request was merged (v4.3.dev.gh [de19622]), the issue is no longer apparent.

@clayjohn
Copy link
Member

Yes, good eye. I suspect this is a duplicate of #89560 and will be fixed by #91790

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