Search Issue Tracker
By Design
Votes
2
Found in [Package]
11.0.0
Issue ID
1323811
Regression
Yes
[HDRP] GPU Performance decreases when shadow map is enabled
How to reproduce:
1. Open the attached "1323811_Repro" project
2. Open the Scene "SampleScene"
3. Open the Profiler (Window->Analysis->Profiler)
4. Enable GPU Usage Module in the Profiler (top-left corner Profiler Modules->GPU Module)
5. Make sure to profile PlayMode
6. Enter the Play Mode
7. In the Profiler's GPU Module details panel search for "RenderDefferedLightingCompute"
8. In the Game view press "F1" to enable/disable the shadow and compare "RenderDefferedLightingCompute" Total time when shadows are enabled/disabled
Expected results: "RenderDefferedLightingCompute" Total time takes ~1-1.5% when shadows are turned on or off
Actual results: "RenderDefferedLightingCompute" Total time takes ~3% or more when shadows are turned on (FPS can also drop by ~50 or more)
Reproducible with: 11.0.0 (2021.1.1f1), 12.0.0 (2021.2.0a11)
Not reproducible with: 7.5.3 (2019.4.23f1), 10.4.0 (2020.3. 3f1)
Could not test with: 2018.4.33 because HDRP was not yet available
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note:
The project linked in the case has shadow filtering quality set to "High" (in the HDRP asset) and the settings on the directional light use 48 samples (instead of 16 by default). These are very high end settings so it's expected to get a much higher performance hit.
For reference, the default filtering quality when creating a new HDRP asset is still medium which matches what was hard coded for older HDRP versions so if you revert your settings back to medium you should have similar performance.