The Hard Edge
The terrain previously ended on a hard silhouette against the sky. Distant ground was just as sharp and saturated as the grass under the camera.
Chinese landscape painting does the reverse. Distance turns to pale air, and the ground melts into the horizon. We wanted distant hills to step back in paler layers without altering every material in the scene.
One Fullscreen Pass
We added a single fullscreen pass (NBER/Fog) that runs immediately after the skybox and blends over camera colour:
Reads the sky: Every frame, the pass samples the sky material's bottom horizon colour and desaturates it by 50%. The haze reads as atmosphere rather than tinted glass: slate at noon, warm amber at dusk, and ink-blue at midnight.
Skips the sky: The shader reconstructs world position from camera depth. Every opaque surface gets the same haze, while sky pixels are ignored. Far ground fades to the sky's exact horizon tone, so the seam disappears.
Distance and height: Fog starts at 30 metres and finishes fading at 220 metres. A height term settles haze over the sea and low fields while keeping hills visible.
The pass takes about 0.25 ms on the GPU at 1080p, cheap enough to leave on permanently.

