Tattoo bake: lay the upper body out in its second UV set #530
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!530
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-530"
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-28 04:19 UTC · original
holdmysocks:claude/tattoo-uv1-385→master· +89 −51 · 4 files · 1 commits · merged 2026-11-28 04:32 UTCPart of #385: tattoo seams on the upper body (Viper's shoulder, and lines stopping at island edges).
Upper-body decorations were baked in the mesh's fourth UV set, at
(2 u3, v3). That set halves only the arms by side. The shoulder yoke and the waist strip keep UV0's full width, so the bake stretched them 2x against the arms. As a result, a tattoo that runs from the arm onto the shoulder broke where the islands meet.The decorations follow the second UV set (TEXCOORD_1) instead. The evidence:
What changes:
peddeco::uv_layout(wasuv3_layout) bakes into the layout of any UV set. Gutter texels take the skin of the nearest covered texel, so filtering at an island's edge reads the same skin.texCoord1. The record notes describe the space.Tests:
uv_layoutreading the base at each texel's UV0, and a gutter taking its nearest island's skin rather than the half-width rule.Still open on #385: