diff options
| author | Valentin Popov <valentin@popov.link> | 2026-07-18 16:11:05 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-07-18 16:11:05 +0300 |
| commit | 8b211f9a1cdd562488f66ab0be1c9a96291c7944 (patch) | |
| tree | 2b697e3c3dd3d7d554fb0414e891d2ae8d96c474 /docs/tomes | |
| parent | d1caf230c6637eee021df97925ff74fcae9913f9 (diff) | |
| download | fparkan-8b211f9a1cdd562488f66ab0be1c9a96291c7944.tar.xz fparkan-8b211f9a1cdd562488f66ab0be1c9a96291c7944.zip | |
docs(terrain): trace renderer material handoff
Diffstat (limited to 'docs/tomes')
| -rw-r--r-- | docs/tomes/05-render.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/tomes/05-render.md b/docs/tomes/05-render.md index 6ac14ae..749d073 100644 --- a/docs/tomes/05-render.md +++ b/docs/tomes/05-render.md @@ -1573,6 +1573,15 @@ 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 terrain render traversal is now located at `Terrain.dll` RVA `0x11340`. +After visibility/cell work, it derives a 68-byte source-material record and +dispatches renderer-context slot `+16` with four arguments: zero, the record's +16-bit word at `+2`, a pointer selected from a four-byte table by its word at +`+0`, and zero. A preceding renderer-context slot `+60` receives the current +visibility mode. This is the concrete terrain-to-renderer handoff; it does not +call `GetMaterialPhase` directly and does not yet identify either word, the +four-byte payload, or the final blend operation. + 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 |
