diff options
| author | Valentin Popov <valentin@popov.link> | 2026-07-18 15:41:53 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-07-18 15:41:53 +0300 |
| commit | 4df46865091fe12a3e04606d4710521516f35d85 (patch) | |
| tree | d79eb47661b0922a5a4d040eb0d8022f221b66d5 /docs | |
| parent | e0f0e4a18ef9f2b6ca34917d4436e42eeb7f1eb1 (diff) | |
| download | fparkan-4df46865091fe12a3e04606d4710521516f35d85.tar.xz fparkan-4df46865091fe12a3e04606d4710521516f35d85.zip | |
feat(terrain): bind map base textures
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tomes/05-render.md | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
