aboutsummaryrefslogtreecommitdiff
path: root/docs/tomes
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-07-18 16:25:33 +0300
committerValentin Popov <valentin@popov.link>2026-07-18 16:25:33 +0300
commit7a7578d0db2a0f6bd0a440f5ef1f72432f8b38ae (patch)
tree9801a7c91a03232287e2e69187403245c174d854 /docs/tomes
parent5577a04a4093a529d2c64a24e1ab4c72941b5ff1 (diff)
downloadfparkan-7a7578d0db2a0f6bd0a440f5ef1f72432f8b38ae.tar.xz
fparkan-7a7578d0db2a0f6bd0a440f5ef1f72432f8b38ae.zip
feat(terrain): decode slot material pairs
Diffstat (limited to 'docs/tomes')
-rw-r--r--docs/tomes/05-render.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/tomes/05-render.md b/docs/tomes/05-render.md
index 29319ed..5dd2e0c 100644
--- a/docs/tomes/05-render.md
+++ b/docs/tomes/05-render.md
@@ -1582,8 +1582,11 @@ preceding slot `+60` call sets its visibility mode. Slot `+16` consumes the
second word as the count of adjacent `u16` pairs and the first as the pair-table
index, then groups the pairs by material lookup before constructing draw work.
`TerrainSlotTable::render_dispatch` exposes exactly those two proven disk
-fields. The pair payload, its material key, and the final blend operation remain
-unassigned.
+fields, while `LandMeshDocument::slot_material_pairs` decodes the selected
+type-11 entries as `{ material_lookup: u16, flags: u16 }`. Flag `0x0010` is a
+proven batch boundary in `GetShade`; the lookup's mapping to the two WEAR
+tables, the meanings of its remaining flags, and the final blend operation
+remain unassigned.
The static Vulkan bridge now carries each contiguous face run as a separate
draw range keyed by the original packed `material_tag`; it neither reorders