Search Issue Tracker

Fixed in 2021.1

Fix In Review for 2019.4, 2020.3

Votes

1

Found in

2018.4

2019.4.11f1

2020.2

Issue ID

1281930

Regression

No

Shadows are flickering when Scene is offset from origin and Camera has a low near clip plane

XR

-

Reproduction steps:
1. Open the user's attached project "914797-ShadowsFlicker.zip"
2. In the Project window under the "Assets/Scenes" open "SampleScene.unity"
3. Enter Play mode

Expected result: Shadows remain static in relation to their objects
Actual result: Shadows are moving randomly in relation to their objects

Reproducible with: 2018.4.27f1, 2019.4.11f1, 2020.1.7f1, 2020.2.0b5

Notes:
-The scene is offset from the origin. It's at (0,0,4000). The near clip plane of the camera was also reduced to 0.01
-The camera has a simple script slowly rotating it
-This behavior is reduced if the near plane is pushed farther and when the scene is moved closer to the origin or if the camera doesn't move

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Updated shadow ray calculations in monoscopic and stereo contexts to stabilize rays at extreme distances.

Comments (1)

  1. 375b7a99ac01798c62de9711ae4d36c1?d=mm

    florahmelda

    Oct 05, 2020 12:52

    Online case study help services have become very popular for those seeking business case study writing as they engage the best Case Study Writing Services.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.