The next Flax update will contain new Shadow Map Atlas that supports variable resolution and update rate per-light. Additionally, static lights can cache static geometry into an intermediate shadow map. Then when updating the shadow, cached static shadow can be copied and only dynamic objects are rendered. This drastically improves both GPU and CPU performance in complex scenes with point/spot lights that are casting shadows.
4 Likes