Viewer: neutral grey for clothing with no colour in the install #296

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

@⁠holdmysocks on GitHub · 2026-11-25 17:23 UTC · original
holdmysocks:claude/people-bare-fallback → master · +17 −2 · 2 files · 1 commits · merged 2026-11-25 18:29 UTC

Shows clothing that has no colour anywhere in the install as neutral dark grey instead of white.

Background

PR 295 colours garments whose textures are not in the install, using the colour their item stores. Some items store none: no garment preset, no tint row, no flat colour and no colour tag. Those were still white.

Search for a real colour

I checked these items for a colour source and found none:

  • Item fields. The items carry no preset, tint, flat colour or colour tag. Their tags hold style and fit words only (Casual, sports, male, over).
  • Item textures. Each item swaps in textures of its own, but those are missing too. They are not in any of the 57 texture stores, and no index names them other than the wardrobe.
  • Drawable shader parameters. These hold no colour; the one colour-like value is white.
  • Other items on the same drawable. Some do have tints, such as purple, navy or khaki watches, but those are different colour variants, so I did not borrow them.

What changed

  • colour_part gives such materials a neutral dark grey vertex tint (sRGB 88), with no texture and no colour from the item.
  • This is not the game's colour. The README says so.
  • Skin is left out. Body skin also has no texture of its own, and it takes the face's skin tone; the grey tint would darken it. An earlier commit in this PR did that, which made player Jason's arms and legs near-black.

Scale

Across the 292 named characters' default looks, 211 items have textures missing from the install. 192 of them already get their own colour from PR 295. This PR covers the other 19:

  • 8 watches
  • 4 bracelets
  • 4 pairs of boots (3 combat, 1 logger)
  • a headband
  • headphones
  • a police badge

Verified

  • cargo test --release --locked passes.
  • I rendered 3 characters in the viewer:
    • Asher's combat boots and a DJ's headphones are dark grey instead of white.
    • Player Jason's arms and legs keep his skin tone.

Not verified

  • The real colours of these items, which are in textures this install does not have.
**@⁠holdmysocks** on GitHub · 2026-11-25 17:23 UTC · [original](https://github.com/holdmysocks/SixNG/pull/296) `holdmysocks:claude/people-bare-fallback` → `master` · +17 −2 · 2 files · 1 commits · merged 2026-11-25 18:29 UTC Shows clothing that has no colour anywhere in the install as neutral dark grey instead of white. ## Background PR 295 colours garments whose textures are not in the install, using the colour their item stores. Some items store none: no garment preset, no tint row, no flat colour and no colour tag. Those were still white. ## Search for a real colour I checked these items for a colour source and found none: - **Item fields.** The items carry no preset, tint, flat colour or colour tag. Their tags hold style and fit words only (Casual, sports, male, over). - **Item textures.** Each item swaps in textures of its own, but those are missing too. They are not in any of the 57 texture stores, and no index names them other than the wardrobe. - **Drawable shader parameters.** These hold no colour; the one colour-like value is white. - **Other items on the same drawable.** Some do have tints, such as purple, navy or khaki watches, but those are different colour variants, so I did not borrow them. ## What changed - `colour_part` gives such materials a neutral dark grey vertex tint (sRGB 88), with no texture and no colour from the item. - This is not the game's colour. The README says so. - Skin is left out. Body skin also has no texture of its own, and it takes the face's skin tone; the grey tint would darken it. An earlier commit in this PR did that, which made player Jason's arms and legs near-black. ## Scale Across the 292 named characters' default looks, 211 items have textures missing from the install. 192 of them already get their own colour from PR 295. This PR covers the other 19: - 8 watches - 4 bracelets - 4 pairs of boots (3 combat, 1 logger) - a headband - headphones - a police badge ## Verified - `cargo test --release --locked` passes. - I rendered 3 characters in the viewer: - Asher's combat boots and a DJ's headphones are dark grey instead of white. - Player Jason's arms and legs keep his skin tone. ## Not verified - The real colours of these items, which are in textures this install does not have.
Clothing whose textures are not in the install and whose item stores no
preset, tint row, flat colour or colour tag still showed white after the
vertex colouring for missing textures. It is now a neutral dark grey.
That covers 19 items in the 292 named characters' default looks, mostly
watches, plus combat boots, a headband and headphones.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:25:25 +00:00
github manually merged commit 088562f660 into gh-pr/296/base 2026-11-26 20:25:26 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.