Characters: shift skin detail images when parts are merged #508
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!508
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-508"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-27 21:23 UTC · original
holdmysocks:claude/people-skin-merge→master· +9 −1 · 1 files · 1 commits · merged 2026-11-27 21:34 UTCOn characters assembled from parts, the skin of the body parts was badly shaded. Lucia's chest, belly, arms and legs had large flat patches tilted one way, a hard colour seam at the neck, and a blocky look. Connie's chest had the same.
Cause
glb::mergeshifts a part's image indices when it adds the part to the character. It covered base, normal, packed, emissive, fabric detail and the ramps, but not:So every skin part read images 3–5 of the first part loaded. For Lucia that part is her bracelet, so the body's detail used bracelet textures as its strength mask, regions and detail normals. With skin detail off, the body was already correct.
Fix
Shift those image indices in
mergeas well.Checks
cargo test --release -p sixng-gui --binspasses.glb::ModelandMaterialhave noDefault, so a test would need full literals. Checked with renders instead.