Clothing materials: describe the stitch layer #193
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!193
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/193/head"
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-24 18:58 UTC · original
holdmysocks:claude/stitch-layer→master· +93 −1 · 3 files · 1 commits · merged 2026-11-24 19:18 UTCWhat
A clothing material's record in
model.jsonandmaterials.jsongets astitchesblock. The game draws seam stitches from one shared mask texture, sampled with the mesh's third UV set. The block says where a garment's stitches are and how the shader colours them. Nothing is drawn or baked yet.uv_set:TEXCOORD_2.vertices,on_stitch_columns,per_column,v_range_on_columns,has_stitches: measured on the material's own vertices.mask: the shared texture's hash, size, sampling, the U ranges of its three stitch columns and its channels as decoded.weight,colour: the maths read from the shader code.source,not_decoded.Checked
cargo test -p sixng-core --lib: 178 passed.Not decoded