cacheStaticShadows property

bool cacheStaticShadows
getter/setter pair

Whether nodes marked shadowStatic are cached across frames.

Disable this for a light whose direction changes every frame. Rebuilding and replaying cached tiles would add work compared with rendering all casters directly into the frame atlas. A light that turns in small, occasional steps (a stepped sun) can keep it on; each step refreshes the cached cascades one per frame, so far cascades lag the turn briefly.

Implementation

bool cacheStaticShadows;