verve.gl — distance fog
Linear distance fog: near cubes are fully lit, far cubes dissolve into the fog colour. Fog is applied after PBR lighting, before tonemap — the same result on WebGL2 and WebGPU backends.
Modes: linear (near→far ramp), exp, exp2 (density falloff). Set via .fog(.{ .mode, .color, .near, .far, .density }). Drag to orbit · wheel to zoom.