diff options
| author | Valentin Popov <valentin@popov.link> | 2026-07-18 16:07:34 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-07-18 16:07:34 +0300 |
| commit | d1caf230c6637eee021df97925ff74fcae9913f9 (patch) | |
| tree | 47feac59fbc1d007e0d6b6b94ac072bedecd65ec /docs/tomes | |
| parent | a858910853da12cb08bf1d7cd4572314a2e49fe1 (diff) | |
| download | fparkan-d1caf230c6637eee021df97925ff74fcae9913f9.tar.xz fparkan-d1caf230c6637eee021df97925ff74fcae9913f9.zip | |
docs(terrain): record material phase boundary
Diffstat (limited to 'docs/tomes')
| -rw-r--r-- | docs/tomes/05-render.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/tomes/05-render.md b/docs/tomes/05-render.md index 469fbe1..6ac14ae 100644 --- a/docs/tomes/05-render.md +++ b/docs/tomes/05-render.md @@ -1565,6 +1565,14 @@ as table 1, while its material-phase lookup receives the exact 32-bit selector `(table_index << 16) | material_index`. `TerrainMaterialSelection` preserves that key for the renderer without assuming how the two phases are blended. +The same `World3D!GetMaterialPhase` recovery establishes the next boundary. It +validates the table/row selector, chooses a MAT0 phase (or interpolates two +phases for an animated material), returns the selected material record, and +hands its caller a 76-byte expanded phase-state block. It does not submit a +draw or compose the two terrain tables. The later consumer of that record and +the type-18 microtexture mapping remains the required evidence before adding +an overlay, blend, or microtexture shader. + 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 |
