I have a few point lights with shadows on, extremely low res 170.
shadow update mode is set to on enable, and yet the cost is still significant compared to the same lights with disabled shadows. Actually, it doesn’t give any gains for the GPU, based on the built-in GPU profiler module.
Without shadows: (GPU cost)
Deferred lighting: 3.1ms
Volumetric lighting: 1.0ms
With shadows (every frame) (GPU cost):
Deferred lighting: 11ms
Volumetric lighting: 1.8ms
With shadows (on enable only) (GPU cost):
Deferred lighting: 11ms
Volumetric lighting: 1.8ms
There’s no noticeable improvement on the GPU, I can see improvements for the CPU.
Is this expected? If so, why? is it a limitation, because from my experience with cached shadows in other engines it usually provides big perf gains for the GPU as well.
Tested in-editor only. 2021.3.11
I really need those shadows
edit: updated, check first post