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:

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

In the editor:

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
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:
Decreasing Max Distance shows that the shadow map is pure black:
In the editor:
Steps to reproduce
Minimal reproduction project
test_shadow_compatibility.zip