From 4df46865091fe12a3e04606d4710521516f35d85 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 18 Jul 2026 16:41:53 +0400 Subject: feat(terrain): bind map base textures --- docs/tomes/05-render.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/tomes/05-render.md') diff --git a/docs/tomes/05-render.md b/docs/tomes/05-render.md index d9bae22..d1b584f 100644 --- a/docs/tomes/05-render.md +++ b/docs/tomes/05-render.md @@ -1550,6 +1550,18 @@ This is evidence for a two-layer terrain-material contract, but not yet for its blend equation, so the Vulkan bridge intentionally remains texture-agnostic until the base/overlay composition is recovered. +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 +triangles nor collapses the high byte. For the first usable visual layer, the +low byte resolves positionally through the adjacent standalone `Land2.wea`, +then the existing `MAT0 -> Textures.lib -> TEXM` chain supplies the RGBA8 +descriptor. `Land1.wea` remains preserved as the high byte/overlay channel and +is deliberately not drawn until its blend equation is recovered. A canonical +three-frame AutoDemo run now uses 71 descriptors (66 MSH plus five terrain +tags), produces readback hash `17034026600547661445`, and stays at zero Vulkan +validation warnings/errors. This is original terrain texture upload, not +terrain visual parity. + ```powershell cargo run -q -p fparkan-cli -- terrain inspect ` 'C:\GOG Games\Parkan - Iron Strategy\DATA\MAPS\AutoMAP\Land.msh' --format json -- cgit v1.2.3