Skip to content

fix: Traverse terrain mesh children when toggling shadows#1193

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-shadows-SRwC3
Jan 31, 2026
Merged

fix: Traverse terrain mesh children when toggling shadows#1193
braedonsaunders merged 1 commit into
mainfrom
claude/fix-shadows-SRwC3

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

The terrain.mesh is a THREE.Group containing chunk meshes. Setting receiveShadow directly on the Group does not propagate to children. Fix uses traverse() to set receiveShadow on each mesh individually.

https://claude.ai/code/session_01346VTacpLDyriDTNEn9RN3

The terrain.mesh is a THREE.Group containing chunk meshes. Setting
receiveShadow directly on the Group does not propagate to children.
Fix uses traverse() to set receiveShadow on each mesh individually.

https://claude.ai/code/session_01346VTacpLDyriDTNEn9RN3
@braedonsaunders braedonsaunders merged commit f48b500 into main Jan 31, 2026
4 checks passed
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