Skip to content

fix: force normal recomputation and fix material properties for decor…#1279

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-triangle-artifacts-Yghw8
Feb 3, 2026
Merged

fix: force normal recomputation and fix material properties for decor…#1279
braedonsaunders merged 1 commit into
mainfrom
claude/fix-triangle-artifacts-Yghw8

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

…ations

Decorations had triangle artifacts because:

  1. cloneGeometryForGPU only computed normals when missing, not forcing recomputation of bad normals from AI models
  2. extractMaterial didn't apply the same fixes as AssetManager (disable vertex colors, clear aoMap/lightMap)

Now decorations get the same treatment as units/buildings, ensuring proper normals and clean materials for GTAO.

https://claude.ai/code/session_012kqvccEiiHNQHAjUEoposi

…ations

Decorations had triangle artifacts because:
1. cloneGeometryForGPU only computed normals when missing, not forcing
   recomputation of bad normals from AI models
2. extractMaterial didn't apply the same fixes as AssetManager (disable
   vertex colors, clear aoMap/lightMap)

Now decorations get the same treatment as units/buildings, ensuring
proper normals and clean materials for GTAO.

https://claude.ai/code/session_012kqvccEiiHNQHAjUEoposi
@braedonsaunders braedonsaunders merged commit 81f3835 into main Feb 3, 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