Search Issue Tracker
Fixed
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
Issue ID
1424996
Regression
No
[HDRP] Incorrectly allocated slots for Screen Space Shadows
Version tested: 2022.2.0a12
Steps to reproduce:
1) Open attached project, VFXShadowsTest scene
2) In HDRP set Max Screen Space Shadows to 4
3) Observe that the scene has 4 lights: dir (1 slot), point (1 slot), spot (1 slot), area (2 slots)
4) in Rendering Debugger/Light enable ScreenSpaceShadows debug mode
5) Scrub Screen Space Shadow Index and observe that the same dir light shadow is bound to indices 0 and 1
Bonus to this bug
We have 4 lights (5 slots) but area light shadows start looking correctly only when we allocate 6 shadow slots in settings. As Anis has explained memory slots are allocated in chunks of 4 and area light inefficiently allocates itself in the second chunk (because it can't span over two memory chunks, from slot 4 to 5).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [CI/CD]Build cache not invalidated when building targets with different defines
- VFX Learning Templates contains an empty folder the HDRP_VFX_Learning_Templates Scene
- Crash on -[NSApplication endModalSession:] when changing code in a Code Editor, saving and clicking on the Unity Window with "Stop Playing and Recompile" selected
- “Install package from git URL” and “Install package by name” tab does not close when resizing undocked Package Manager window and gets pushed outside the window
- "EndLayoutGroup: BeginLayoutGroup must be called first." errors are thrown when creating a Tag with identical name and holding the enter keyboard button
Add comment