Make shadows follow player movement continuously

Remove freeze-while-moving and idle smoothing logic from shadow
center computation. Texel snapping already prevents shimmer, so
the shadow projection can track the player directly each frame.
This commit is contained in:
Kelsi 2026-02-23 08:47:38 -08:00
parent 5072c536b5
commit d65b170774
2 changed files with 4 additions and 40 deletions

View file

@ -238,7 +238,7 @@ private:
glm::vec3 shadowCenter = glm::vec3(0.0f);
bool shadowCenterInitialized = false;
bool shadowsEnabled = true;
int shadowPostMoveFrames_ = 0; // transition marker for movement->idle shadow recenter
public:
// Character preview registration (for off-screen composite pass)