Search Issue Tracker

Fixed in 12.0.0

Votes

0

Found in [Package]

11.0.0

Issue ID

1308464

Regression

No

[HDRP] Shadow cascades are moving with the Main Camera when some cascades are skipped with RequestSubShadowMapRendering method

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Open the user's attached "hdrp_ondemandcascade 2.zip" project
2. Open the "TestScene" Scene
3. Select the "Main Camera" GameObject in the Hierarchy window
4. Set the "Skip Cascade Index" to 0 or 1 in the Inspector window
5. Move the "Main Camera" GameObject in the Scene view on the Z-axis
6. Observe the shadows in the "Camera Preview" window in the Scene view

Expected result: Shadow cascades that were skipped are staying in a static position
Actual result: Shadow cascades that were skipped are moving with the Main Camera

Reproducible with: 10.2.2 (2020.2.3f1), 11.0.0 (2021.1.0b4, 2021.2.0a3)
Could not test with: 7.5.2 (2019.4.19f1) - HDAdditionalLightData' does not contain a definition for 'RequestSubShadowMapRendering'

  1. Resolution Note (fix version 12.0.0):

    Fixed in: 12.0.0 (2021.2.0a4 and above)

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.