Viewer: a switch for the skin detail maps #498

Manually merged
github merged 2 commits from github-bot/gh-498 into gh-pr/498/base 2026-11-27 19:36:42 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 19:22 UTC · original
holdmysocks:people-skin-detail-toggle → master · +18 −7 · 5 files · 2 commits · merged 2026-11-27 19:31 UTC

A way to turn off the engine skin detail (pores and fine wrinkles on characters' bare skin). Users who see patterns on the skin (#385) can then check whether the detail path causes them.

Three ways to switch it:

  • the skin detail checkbox in the character panel, under the body sliders;
  • --skin-detail off for scripted runs (on, off, 0, false and no are accepted);
  • SIXNG_SKIN_DETAIL=0.

The state reaches the shader as bit 8 of the frame's mode.y. The packed-channel-order reads now mask that bit off. Detail stays on by default, so screenshots don't change.

Checked on cs_andy (look 9):

  • With detail off, 1,448 skin pixels change, by up to 17/255.
  • --skin-detail off and SIXNG_SKIN_DETAIL=0 give byte-identical images.
  • The sixng-gui release build and tests pass.
**@⁠holdmysocks** on GitHub · 2026-11-27 19:22 UTC · [original](https://github.com/holdmysocks/SixNG/pull/498) `holdmysocks:people-skin-detail-toggle` → `master` · +18 −7 · 5 files · 2 commits · merged 2026-11-27 19:31 UTC A way to turn off the engine skin detail (pores and fine wrinkles on characters' bare skin). Users who see patterns on the skin (#385) can then check whether the detail path causes them. **Three ways to switch it:** - the **skin detail** checkbox in the character panel, under the body sliders; - `--skin-detail off` for scripted runs (`on`, `off`, `0`, `false` and `no` are accepted); - `SIXNG_SKIN_DETAIL=0`. The state reaches the shader as bit 8 of the frame's `mode.y`. The packed-channel-order reads now mask that bit off. Detail stays on by default, so screenshots don't change. **Checked on cs_andy (look 9):** - With detail off, 1,448 skin pixels change, by up to 17/255. - `--skin-detail off` and `SIXNG_SKIN_DETAIL=0` give byte-identical images. - The sixng-gui release build and tests pass.
So a pattern on a character's bare skin can be checked against the engine
skin detail path. The state goes to the shader as bit 8 of mode.y.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:25:58 +00:00
github-bot changed target branch from master to gh-pr/498/base 2026-11-27 19:36:41 +00:00
github manually merged commit ad89ac4b5c into gh-pr/498/base 2026-11-27 19:36:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.