upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEmma <47298336+zzEmmazz@users.noreply.github.com>2026-11-22 21:58:16 +0200
committerEmma <47298336+zzEmmazz@users.noreply.github.com>2026-11-22 21:58:16 +0200
commitc94fbce94c2cf892e194a404349431b8aeca3f0f (patch)
treed266f1a9d4eb1cf383f51c6a0eaa8781881d6e5c /docs
parent9b54495ae5aca994059afd8207d8e9953c601765 (diff)
docs: materialid on the four garments as measured, and textures.md agrees (ASSET-230 review)
Review of #3009: - character_models.md said materialid is "declared but unbound on the jacket" and "unbound on all four". The jacket's and the crop tee's material rows reference a BC4_UNORM texture that is in the pools; the bikini top's and the undies' rows have no such slot. Whether a shader samples it is not measured. - textures.md still said "the jacket, crop tee and other garments have no albedo". The bikini top and the undies are on other shaders and account for nine of the 0xC8E8C282 references (six and three material rows). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/character_models.md7
-rw-r--r--docs/textures.md7
2 files changed, 10 insertions, 4 deletions
diff --git a/docs/character_models.md b/docs/character_models.md
index 0f9789ae2..ec8031bd9 100644
--- a/docs/character_models.md
+++ b/docs/character_models.md
@@ -109,12 +109,15 @@ component table.
109The character export requested 215 texture keys and matched **184**. The only sRGB albedo slot is 109The character export requested 215 texture keys and matched **184**. The only sRGB albedo slot is
110`0xC8E8C282` (`diffusetex`); `0xC6F46E79` is `speculartex` (specular/gloss pack), `0x1E77BF4C` is 110`0xC8E8C282` (`diffusetex`); `0xC6F46E79` is `speculartex` (specular/gloss pack), `0x1E77BF4C` is
111`bumptex` (the tangent-space normal), `0x739E3D0D` is `speculartex2` (packed ORM), and 111`bumptex` (the tangent-space normal), `0x739E3D0D` is `speculartex2` (packed ORM), and
112`0x8ADB8480` is `materialid` (an ID/palette map, declared but unbound on the jacket). The garment 112`0x8ADB8480` is `materialid` (an ID/palette map). The jacket's and the crop tee's material rows
113reference one (`0x6CD70ED1054EF726`, `0xF0722B975F329141`, both `BC4_UNORM` textures in the
114`ttdb_peds` pools); the bikini top's and the undies' rows have no such slot. Whether a shader
115samples it is not measured. The garment
113shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all: none of 116shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all: none of
114their 7,948 material rows in the export has one. The jacket and the crop tee are on them, so they 117their 7,948 material rows in the export has one. The jacket and the crop tee are on them, so they
115have no albedo. A part without one keeps a flat colour; it must not 118have no albedo. A part without one keeps a flat colour; it must not
116be painted with `speculartex` or an ORM map. The garments' `_COLOR0` vertex data is baked shading 119be painted with `speculartex` or an ORM map. The garments' `_COLOR0` vertex data is baked shading
117(alpha 255 on every vertex), not a tint; `materialid` is unbound on all four, and the shader 120(alpha 255 on every vertex), not a tint, and the shader
118declares no tint or palette slot. No authored base colour exists to recover for those two. 121declares no tint or palette slot. No authored base colour exists to recover for those two.
119 122
120The bikini top and the undies are not on the garment shaders, and they do have an albedo. All 123The bikini top and the undies are not on the garment shaders, and they do have an albedo. All
diff --git a/docs/textures.md b/docs/textures.md
index 9ce417ce7..75022de3f 100644
--- a/docs/textures.md
+++ b/docs/textures.md
@@ -534,8 +534,11 @@ rather than by array order:
534The counts in the 246-record character corpus are 215 references each for `0xC6F46E79`, 534The counts in the 246-record character corpus are 215 references each for `0xC6F46E79`,
535`0x1E77BF4C` and `0x739E3D0D`, 164 for `0x8ADB8480`, and 64 for `0xC8E8C282`. The garment 535`0x1E77BF4C` and `0x739E3D0D`, 164 for `0x8ADB8480`, and 64 for `0xC8E8C282`. The garment
536shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all, so the 536shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all, so the
537jacket, crop tee and other garments have no albedo by shader design, not because a texture is 537jacket, the crop tee and every other garment on them have no albedo by shader design, not because
538missing. Exporters must **not** fall back to the first texture in that case; a `speculartex` 538a texture is missing. Not every garment is on them: the bikini top and the undies are on other
539shaders and account for nine of the `0xC8E8C282` references, six and three material rows
540([character_models.md](character_models.md)). Exporters must **not** fall back to the first
541texture when a material has no such slot; a `speculartex`
539sheet painted as a base colour is the usual symptom. The hashes are treated as measured corpus 542sheet painted as a base colour is the usual symptom. The hashes are treated as measured corpus
540semantics, not as a claim that they are globally unique across every shader. 543semantics, not as a claim that they are globally unique across every shader.
541 544