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

DirectionalLight Shadows in orthogonal view don't show #69370

Closed
eastriverlee opened this issue Nov 30, 2022 · 1 comment
Closed

DirectionalLight Shadows in orthogonal view don't show #69370

eastriverlee opened this issue Nov 30, 2022 · 1 comment

Comments

@eastriverlee
Copy link

eastriverlee commented Nov 30, 2022

Godot version

4.0beta6

System information

macOS 13.0.1, Apple M1 Max

Issue description

Shadows casted by DirectionalLights in orthogonal view don't show.
This used to work in Godot 3.x.
SpotLights and OmniLights work fine.

3.5.1 (expected)

Screenshot 2022-11-30 at 13 40 34

4.0beta6 (bug)

Screenshot 2022-11-30 at 13 40 36

Testing various settings (left: 3.5.1, right: 4.0beta6)

shadow:

  • Orthogonal
  • PSSM 2 Splits
  • PSSM 4 Splits

view:

  • Perspective
  • Orthogonal
Screen.Recording.2022-11-30.at.13.37.23.mov

Steps to reproduce

  1. Add Meshes
  2. Add DirectionalLight
  3. Render in Orthogonal View

Minimal reproduction project

orthogonal_shadow.zip

@eastriverlee eastriverlee changed the title Shadows in orthogonal view don't show Directional Light Shadows in orthogonal view don't show Nov 30, 2022
@eastriverlee eastriverlee changed the title Directional Light Shadows in orthogonal view don't show DirectionalLight Shadows in orthogonal view don't show Nov 30, 2022
@Chaosus Chaosus added this to the 4.0 milestone Nov 30, 2022
@Chaosus Chaosus moved this to To Assess in 4.x Priority Issues Nov 30, 2022
@Chaosus Chaosus moved this from To Assess to Todo in 4.x Priority Issues Nov 30, 2022
@Calinou
Copy link
Member

Calinou commented Nov 30, 2022

Duplicate of #58332.

You need to decrease the camera's Far property. Example with the editor camera settings in the View menu at the top of the 3D editor viewport, setting it to 500 instead of 4000 restores visible shadows in the editor viewport:

2022-11-30_16 56 57

@Calinou Calinou removed this from the 4.0 milestone Nov 30, 2022
@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2023
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

4 participants