diff options
| author | Emma <47298336+zzEmmazz@users.noreply.github.com> | 2026-11-22 21:58:16 +0200 |
|---|---|---|
| committer | Emma <47298336+zzEmmazz@users.noreply.github.com> | 2026-11-22 21:58:16 +0200 |
| commit | c94fbce94c2cf892e194a404349431b8aeca3f0f (patch) | |
| tree | d266f1a9d4eb1cf383f51c6a0eaa8781881d6e5c /docs | |
| parent | 9b54495ae5aca994059afd8207d8e9953c601765 (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.md | 7 | ||||
| -rw-r--r-- | docs/textures.md | 7 |
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. | |||
| 109 | The character export requested 215 texture keys and matched **184**. The only sRGB albedo slot is | 109 | The 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 |
| 113 | reference 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 | ||
| 115 | samples it is not measured. The garment | ||
| 113 | shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all: none of | 116 | shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all: none of |
| 114 | their 7,948 material rows in the export has one. The jacket and the crop tee are on them, so they | 117 | their 7,948 material rows in the export has one. The jacket and the crop tee are on them, so they |
| 115 | have no albedo. A part without one keeps a flat colour; it must not | 118 | have no albedo. A part without one keeps a flat colour; it must not |
| 116 | be painted with `speculartex` or an ORM map. The garments' `_COLOR0` vertex data is baked shading | 119 | be 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 |
| 118 | declares no tint or palette slot. No authored base colour exists to recover for those two. | 121 | declares no tint or palette slot. No authored base colour exists to recover for those two. |
| 119 | 122 | ||
| 120 | The bikini top and the undies are not on the garment shaders, and they do have an albedo. All | 123 | The 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: | |||
| 534 | The counts in the 246-record character corpus are 215 references each for `0xC6F46E79`, | 534 | The 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 |
| 536 | shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all, so the | 536 | shaders (`d5ed50f4`, `ea8d09d0`, `39ddb9ca`) do not declare a `0xC8E8C282` slot at all, so the |
| 537 | jacket, crop tee and other garments have no albedo by shader design, not because a texture is | 537 | jacket, the crop tee and every other garment on them have no albedo by shader design, not because |
| 538 | missing. Exporters must **not** fall back to the first texture in that case; a `speculartex` | 538 | a texture is missing. Not every garment is on them: the bikini top and the undies are on other |
| 539 | shaders 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 | ||
| 541 | texture when a material has no such slot; a `speculartex` | ||
| 539 | sheet painted as a base colour is the usual symptom. The hashes are treated as measured corpus | 542 | sheet painted as a base colour is the usual symptom. The hashes are treated as measured corpus |
| 540 | semantics, not as a claim that they are globally unique across every shader. | 543 | semantics, not as a claim that they are globally unique across every shader. |
| 541 | 544 | ||