I am trying to dynamically adjust the rendering quality to ensure a smooth performance for the users and one of the elements of this tuning is shadow map size. After a significant amount of struggles I found out that VSMShadowMap is not a good candidate for this as shown here:
Could you please suggest if it is possible to make VSMShadowMap work in the dynamic setup where the light position, post-processing and the shadow-map resolution changes on the fly or it is better to use PCF shadows with lower resolution maps? Thanks!