Map 3D: the land drawn as made-up ground, with the tiles' relief #341

Manually merged
github merged 4 commits from gh-pr/341/head into gh-pr/341/base 2026-11-26 20:28:53 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 02:33 UTC · original
holdmysocks:six-map3d-terrain → master · +81 −3 · 2 files · 4 commits · merged 2026-11-26 05:09 UTC

The map tiles under the 3D map hold only a colour by height, with the bake's own hill shading. Cells the bake left out are filled flat green from the game's height map. From the air this read as flat green and olive land with hard rectangles.

  • In the HDR map, all land is now drawn as a made-up ground from height, slope and noise: sand just above the sea, dry grass and scrub inland, darker woods in patches, and rock on steep slopes. It's lit by the scene with the terrain's own normals, and the placed lights light it too.
  • The tiles' hill shading holds relief finer than the terrain mesh, such as road embankments and building pads. It's kept at half strength: the tile's brightness over the bake's colour for that height. Filled cells have no tile, so none applies there.
  • The tiles' water paint still marks the sea.
  • The non-HDR view is unchanged.

Own choices (not decoded): the colours, the noise scales (380, 60 and 23 m), the slope and height thresholds, and the relief strength. The game's terrain materials are not used. SIX-211.

Checked

  • cargo check -p sixng-gui --tests gives no warnings, and naga validates the shaders.
  • Test PC (RTX 3090):
    • From 300 m and from 3000 m, open land that was flat green now reads as mottled grass, earth and woods.
    • With models hidden, the relief (embankments, pads, terrain edges) is readable at half strength.
    • fps is unchanged (300 m: 26, 3000 m: 22).
  • Not changed here: some flat square patches and a diamond-tiled water surface come from the game's lowest-detail LOD models drawn over the ground, not from the terrain.
**@⁠holdmysocks** on GitHub · 2026-11-26 02:33 UTC · [original](https://github.com/holdmysocks/SixNG/pull/341) `holdmysocks:six-map3d-terrain` → `master` · +81 −3 · 2 files · 4 commits · merged 2026-11-26 05:09 UTC The map tiles under the 3D map hold only a colour by height, with the bake's own hill shading. Cells the bake left out are filled flat green from the game's height map. From the air this read as flat green and olive land with hard rectangles. - In the HDR map, all land is now drawn as a made-up ground from height, slope and noise: sand just above the sea, dry grass and scrub inland, darker woods in patches, and rock on steep slopes. It's lit by the scene with the terrain's own normals, and the placed lights light it too. - The tiles' hill shading holds relief finer than the terrain mesh, such as road embankments and building pads. It's kept at half strength: the tile's brightness over the bake's colour for that height. Filled cells have no tile, so none applies there. - The tiles' water paint still marks the sea. - The non-HDR view is unchanged. Own choices (not decoded): the colours, the noise scales (380, 60 and 23 m), the slope and height thresholds, and the relief strength. The game's terrain materials are not used. SIX-211. ## Checked - `cargo check -p sixng-gui --tests` gives no warnings, and naga validates the shaders. - Test PC (RTX 3090): - From 300 m and from 3000 m, open land that was flat green now reads as mottled grass, earth and woods. - With models hidden, the relief (embankments, pads, terrain edges) is readable at half strength. - fps is unchanged (300 m: 26, 3000 m: 22). - Not changed here: some flat square patches and a diamond-tiled water surface come from the game's lowest-detail LOD models drawn over the ground, not from the terrain.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:28:52 +00:00
github manually merged commit ea030ff0c8 into gh-pr/341/base 2026-11-26 20:28:53 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.