Names: eleven more material parameter and shader constant names (SIX-68) #449

Manually merged
github merged 2 commits from github-bot/gh-449 into gh-pr/449/base 2026-11-27 05:11:53 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 04:01 UTC · original
holdmysocks:six68-param-names → master · +28 −3 · 3 files · 2 commits · merged 2026-11-27 05:11 UTC

SIX-68: eleven names, found with a meet-in-the-middle joaat search over domain words and words from the game's own known names. Each was checked beyond the hash match:

hash name check
105b83fa tintablepatterntranslation completes the tintablepattern family (per layer, signed values)
e2990fcc thinfilmior constant of every iridescence effect; library values 1.19–1.70
9e64d03b thinfilmmaxthickness next to it in the same blocks; always paired with thinfilmior in the library
44ca7f19 thinfilmthicknessexponent sits between the two
c09b3e00 thinfilmuvset iridescence vehicle shader
fdd796cf tintpaletteselector in exactly the 334 effects that bind tintpalettetex, and in none of the other 566
bcdfe0e9 / 58a8634f hboheightscale / hboheightbias adjacent offsets, a scale/bias pair
8b8582ac translucency a single word
52894254 dustintensity two words
bc31b153 sheenfadealbedo 99.6 % of its library materials also have sheencolor (baseline 39 %)

Hits that only matched the hash, or failed a check like the ones above, are left out. There are still about 16 unnamed library parameters.

Tests: the names tests pass.

Shader constants (second commit)

79 more names from the same search over all 852 unnamed constants of the shader archive, plus a stem + word search. Each name is one or two words and fits its shader and neighbours. Examples: alphapower, heightbias, flakesize, edgefadegradient, layermaskgradient, clothsheencolor, foamcolor and furlength (water, fur and flake shaders), eyewetness and scleracolorvalue (eye shader).

emissivecolormultiplier (7ab0fd74) is the emissive tint constant. Its doc comments in material.rs and export.rs now use the name.

Tests: the names tests pass.

Library naming search (third commit)

A search built from the library's own name pattern: a known prefix such as tintmask, curvature or sheen, then one word, then a known suffix such as blendamount, opacity or threshold. The search space was expected to produce about 0.1 random hits. Three hits:

hash name check
a1997d41 sheenfallbackroughness in 33 library materials, 100 % with sheencolor; in the fabric shader's constants after the cloth sheen constants
adb6f41c sheencutoffthreshold two slots after it in the same block
b1b16aaf tintsplitcolor float3 in the tint weight block; an earlier, larger search also found it
**@⁠holdmysocks** on GitHub · 2026-11-27 04:01 UTC · [original](https://github.com/holdmysocks/SixNG/pull/449) `holdmysocks:six68-param-names` → `master` · +28 −3 · 3 files · 2 commits · merged 2026-11-27 05:11 UTC SIX-68: eleven names, found with a meet-in-the-middle joaat search over domain words and words from the game's own known names. Each was checked beyond the hash match: | hash | name | check | |---|---|---| | 105b83fa | tintablepatterntranslation | completes the tintablepattern family (per layer, signed values) | | e2990fcc | thinfilmior | constant of every iridescence effect; library values 1.19–1.70 | | 9e64d03b | thinfilmmaxthickness | next to it in the same blocks; always paired with thinfilmior in the library | | 44ca7f19 | thinfilmthicknessexponent | sits between the two | | c09b3e00 | thinfilmuvset | iridescence vehicle shader | | fdd796cf | tintpaletteselector | in exactly the 334 effects that bind tintpalettetex, and in none of the other 566 | | bcdfe0e9 / 58a8634f | hboheightscale / hboheightbias | adjacent offsets, a scale/bias pair | | 8b8582ac | translucency | a single word | | 52894254 | dustintensity | two words | | bc31b153 | sheenfadealbedo | 99.6 % of its library materials also have sheencolor (baseline 39 %) | Hits that only matched the hash, or failed a check like the ones above, are left out. There are still about 16 unnamed library parameters. Tests: the names tests pass. ## Shader constants (second commit) 79 more names from the same search over all 852 unnamed constants of the shader archive, plus a stem + word search. Each name is one or two words and fits its shader and neighbours. Examples: alphapower, heightbias, flakesize, edgefadegradient, layermaskgradient, clothsheencolor, foamcolor and furlength (water, fur and flake shaders), eyewetness and scleracolorvalue (eye shader). `emissivecolormultiplier` (7ab0fd74) is the emissive tint constant. Its doc comments in material.rs and export.rs now use the name. Tests: the names tests pass. ## Library naming search (third commit) A search built from the library's own name pattern: a known prefix such as `tintmask`, `curvature` or `sheen`, then one word, then a known suffix such as `blendamount`, `opacity` or `threshold`. The search space was expected to produce about 0.1 random hits. Three hits: | hash | name | check | |---|---|---| | a1997d41 | sheenfallbackroughness | in 33 library materials, 100 % with sheencolor; in the fabric shader's constants after the cloth sheen constants | | adb6f41c | sheencutoffthreshold | two slots after it in the same block | | b1b16aaf | tintsplitcolor | float3 in the tint weight block; an earlier, larger search also found it |
Meet-in-the-middle joaat search over domain and game-name words, each
checked beyond the hash: the thin-film constants of the iridescence
effects, tintpaletteselector (exactly the effects that bind a tint
palette), the hbo height pair, sheenfadealbedo, translucency,
dustintensity and tintablepatterntranslation.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 04:04:42 +00:00
Includes emissivecolormultiplier (7ab0fd74), the emissive tint constant.
github-bot changed target branch from master to gh-pr/449/base 2026-11-27 05:11:52 +00:00
github manually merged commit 1ef74f1023 into gh-pr/449/base 2026-11-27 05:11:53 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.