Skin detail: read the region as the high nibble, and test the merge #514
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!514
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-514"
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 22:11 UTC · original
holdmysocks:people/lead-hair-check→master· +82 −3 · 3 files · 1 commits · merged 2026-11-27 22:22 UTCFollows the Lucia and Jason check. Refs #385.
Region decode. The skin region in speculartex2 G is the high nibble of the byte. The maps store each region about six steps into its nibble (5, 23, 54 ... 214, 245), so rounding G x 16 put the decode edge one or two steps above the stored value. On Lucia's body map, region 13 sits at 214 with the edge at 215. Block compression noise flipped whole 4 x 4 blocks to the next region along the neck. The shader now takes the nibble (
skin_region), and the export's layout note says so.Merge test. #508 fixed glb::merge leaving the skin detail maps and vehicle masks at the first part's image indices: that is what drew the pale stripes over Lucia's chest. This adds a test that a merged part's base, packed, wear, primer, dust, speculartex2 and both detail sheet indices all move.
Checked in the viewer on Lucia's chest and neck (stripes gone, pores show) and on Jason. Tests: core 401, gui 62.