Outfits: hide clothes worn under other clothes by the items' hide masks #327

Manually merged
github merged 1 commit from gh-pr/327/head into gh-pr/327/base 2026-11-26 20:27:44 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 00:59 UTC · original
holdmysocks:claude/people-shirt-blotches → master · +66 −15 · 1 files · 1 commits · merged 2026-11-26 01:13 UTC

The black or white blotches on shirts in the character sweep (Kent Paul, Kenton, Kenton Rees, Shanese, Pretzel, several TAL characters) were not prints. They were the garment worn underneath showing through: a black t-shirt under Kent Paul's open purple shirt, a white one under a black shirt, and so on. Both garments are in the "top" slot, and the viewer only hid clothes under a jacket ("outer" slot).

The outfit data says which is over which: the shirt's hide masks name the region layer of the t-shirt under it (e.g. Kent Paul's shirt hides layer 15793985, the t-shirt's layer).

  • garment_levels: tops, bottoms and one-pieces start at level 1 and jackets at 8. An item whose hide masks name another shown garment's layer goes one level over it (chains settle in a few rounds). Two items that name each other's layer stay level.
  • Each level is hidden where the levels over it cover it, with the existing distance test. Clothes under clothes may now lie up to 30 mm inside the garment over them (skin keeps 15 mm), because t-shirts poke further through at the armpits.
  • Test: garment_levels_follow_the_hide_masks.

Verified: cargo test --release --locked passes. I re-rendered the 8 characters from the sweep: Kent Paul, both Kentons, Shanese, Pretzel and two TAL characters are clean.

Not fixed: on one TAL character (cs_tal_bu), small black slivers of the t-shirt still show at the armpits and one dot at the collar. Not verified: an in-game comparison.

**@⁠holdmysocks** on GitHub · 2026-11-26 00:59 UTC · [original](https://github.com/holdmysocks/SixNG/pull/327) `holdmysocks:claude/people-shirt-blotches` → `master` · +66 −15 · 1 files · 1 commits · merged 2026-11-26 01:13 UTC The black or white blotches on shirts in the character sweep (Kent Paul, Kenton, Kenton Rees, Shanese, Pretzel, several TAL characters) were not prints. They were the garment worn underneath showing through: a black t-shirt under Kent Paul's open purple shirt, a white one under a black shirt, and so on. Both garments are in the "top" slot, and the viewer only hid clothes under a jacket ("outer" slot). The outfit data says which is over which: the shirt's hide masks name the region layer of the t-shirt under it (e.g. Kent Paul's shirt hides layer `15793985`, the t-shirt's layer). - `garment_levels`: tops, bottoms and one-pieces start at level 1 and jackets at 8. An item whose hide masks name another shown garment's layer goes one level over it (chains settle in a few rounds). Two items that name each other's layer stay level. - Each level is hidden where the levels over it cover it, with the existing distance test. Clothes under clothes may now lie up to 30 mm inside the garment over them (skin keeps 15 mm), because t-shirts poke further through at the armpits. - Test: `garment_levels_follow_the_hide_masks`. Verified: `cargo test --release --locked` passes. I re-rendered the 8 characters from the sweep: Kent Paul, both Kentons, Shanese, Pretzel and two TAL characters are clean. Not fixed: on one TAL character (`cs_tal_bu`), small black slivers of the t-shirt still show at the armpits and one dot at the collar. Not verified: an in-game comparison.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:27:41 +00:00
github manually merged commit e3cd2e420f into gh-pr/327/base 2026-11-26 20:27:44 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.