Ped decorations: the game's Lab white point for makeup #460
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!460
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-460"
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 04:59 UTC · original
holdmysocks:claude/tattoo-tone-385→master· +929 −125 · 19 files · 10 commits · merged 2026-11-27 06:05 UTCPart of #385; stacked on #458. The makeup bake now uses the game's own Lab white point.
White point
The exe's sRGB→Lab conversion divides XYZ by a reference white that is filled at start-up. It is copied from the D65 entry of the game's illuminant table (the table also holds A, D50, D55 and others):
(0.95047, 1.0, 1.08883). #458 used the row sums of the sRGB matrix, which differ from it only in the last float digits. This replaces them with the exe's constant. Confidence: high (the start-up copy and the table entry are both read from the exe).The bake-rule version goes up, so earlier makeup bakes are not reused.
Tests