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

OpenGL: Directional shadow rendering works in the editor, but not in the running project #82503

Closed
Tracked by #66458
Calinou opened this issue Sep 28, 2023 · 0 comments · Fixed by #83141
Closed
Tracked by #66458

Comments

@Calinou
Copy link
Member

Calinou commented Sep 28, 2023

Godot version

4.2.dev fbe611e

System information

Fedora 38, GeForce RTX 4090 (NVIDIA 535.104.05)

Issue description

Following the implementation of 3D shadows, I've noticed that directional shadows fail to render in the running project, even though they work in the editor:

Screenshot_20230928_235923

Decreasing Max Distance shows that the shadow map is pure black:

Screenshot_20230929_000138

In the editor:

Screenshot_20230928_235934

Steps to reproduce

  • Add some meshes in a scene.
  • Add a DirectionalLight3D node and enable shadows on it.

Minimal reproduction project

test_shadow_compatibility.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.

3 participants