Map 3D: water-plant tiles and far SLOD tiles no longer draw flat squares near the camera #370

Manually merged
github merged 6 commits from gh-pr/370/head into gh-pr/370/base 2026-11-26 20:31:11 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 14:50 UTC · original
holdmysocks:six-map3d-slodswap → master · +44 −8 · 3 files · 6 commits · merged 2026-11-26 14:59 UTC

Fixes most of the flat green squares and the diamond-patterned patch that showed a few hundred metres from the camera in some 3D map views (for example the farmland view from 300 m).

What drew them

  • Water-plant tiles (*_waterveg): flat beds of reed and lily cards that the game draws only out to their own LOD distance (130 m). With no linked LOD, the HD fallback kept them out to about 1 km, where they drew as flat green squares and diamond patterns over the fields. They now stop at their own LOD distance.
  • They are picked out by name: the HD ground tiles beside them have the same size and almost the same LOD distance (171 m). A flatness test caught those too, removed fields, roads and beaches, and was dropped.
  • Unlinked SLOD3 and SLOD4 tiles: these span kilometres. Drawn as coverage fallbacks right next to the camera, their flat ground pieces covered the terrain. They now fill in only one band nearer than their own: SLOD4 from about 7.7 km, SLOD3 from about 4.4 km at full detail. Finer levels still fill in all the way to the camera.

The cell cache format changes (v7 to v10), so the first open rebuilds the cells in the background. Near props can take longer to appear during that first rebuild.

Checked on an RTX 3090, nine views against master, warm cache:

  • No holes, no lost ground tiles, no sunk blocks.
  • Farmland at 300 m: the diamond patch, a dark slab and the left-hand squares are gone. Fields, roads and pads are unchanged.
  • An empty city lot that showed a flat grey SLOD top now shows grass.
  • The sandy hillside slab in the airfield views is gone; terrain shows there.
  • Coverage fallback draws drop by a third or more in most views.
  • fps is about the same.
  • Shader validation and the atmosphere tests pass; there are no validation errors.

Not fixed: a few squares remain in the farmland view. They are HD placements, not water-plant tiles, and are not identified yet.

**@⁠holdmysocks** on GitHub · 2026-11-26 14:50 UTC · [original](https://github.com/holdmysocks/SixNG/pull/370) `holdmysocks:six-map3d-slodswap` → `master` · +44 −8 · 3 files · 6 commits · merged 2026-11-26 14:59 UTC Fixes most of the flat green squares and the diamond-patterned patch that showed a few hundred metres from the camera in some 3D map views (for example the farmland view from 300 m). **What drew them** - **Water-plant tiles (`*_waterveg`):** flat beds of reed and lily cards that the game draws only out to their own LOD distance (130 m). With no linked LOD, the HD fallback kept them out to about 1 km, where they drew as flat green squares and diamond patterns over the fields. They now stop at their own LOD distance. - They are picked out by name: the HD ground tiles beside them have the same size and almost the same LOD distance (171 m). A flatness test caught those too, removed fields, roads and beaches, and was dropped. - **Unlinked SLOD3 and SLOD4 tiles:** these span kilometres. Drawn as coverage fallbacks right next to the camera, their flat ground pieces covered the terrain. They now fill in only one band nearer than their own: SLOD4 from about 7.7 km, SLOD3 from about 4.4 km at full detail. Finer levels still fill in all the way to the camera. The cell cache format changes (v7 to v10), so the first open rebuilds the cells in the background. Near props can take longer to appear during that first rebuild. **Checked on an RTX 3090, nine views against master, warm cache:** - No holes, no lost ground tiles, no sunk blocks. - Farmland at 300 m: the diamond patch, a dark slab and the left-hand squares are gone. Fields, roads and pads are unchanged. - An empty city lot that showed a flat grey SLOD top now shows grass. - The sandy hillside slab in the airfield views is gone; terrain shows there. - Coverage fallback draws drop by a third or more in most views. - fps is about the same. - Shader validation and the atmosphere tests pass; there are no validation errors. **Not fixed:** a few squares remain in the farmland view. They are HD placements, not water-plant tiles, and are not identified yet.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:31:08 +00:00
github manually merged commit 00d3eaa26b into gh-pr/370/base 2026-11-26 20:31:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.