Skip to content

fix: Force shadow update when entities first appear#1125

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-fabricator-shadows-1x0iI
Jan 30, 2026
Merged

fix: Force shadow update when entities first appear#1125
braedonsaunders merged 1 commit into
mainfrom
claude/fix-fabricator-shadows-1x0iI

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

Fixes fabricator shadows not updating position at game start. The issue was that the shadow map rendered with needsUpdate=true before entities existed, then wouldn't update for 6+ frames after entities spawned.

Now when transitioning from no entities to having entities, we force an immediate shadow update to ensure shadows are correct from the start.

https://claude.ai/code/session_01FjaMgeHLjAMzrpaM6X1S6j

Fixes fabricator shadows not updating position at game start. The issue
was that the shadow map rendered with needsUpdate=true before entities
existed, then wouldn't update for 6+ frames after entities spawned.

Now when transitioning from no entities to having entities, we force an
immediate shadow update to ensure shadows are correct from the start.

https://claude.ai/code/session_01FjaMgeHLjAMzrpaM6X1S6j
@braedonsaunders braedonsaunders merged commit 5b4958e into main Jan 30, 2026
4 checks passed
@braedonsaunders braedonsaunders deleted the claude/fix-fabricator-shadows-1x0iI branch January 30, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants