riverSurface
Running water drawn along a ribbon: rivers, streams, a waterfall's feed reach and its churned plunge pool. The ripple pattern is advected down the channel at the local current with two-phase flow scrolling (no stretching however the speed varies); rapids add standing waves fixed…
riverSurface
Running water drawn along a ribbon: rivers, streams, a waterfall's feed reach and its churned
plunge pool. The ripple pattern is advected down the channel at the local current with two-phase
flow scrolling (no stretching however the speed varies); rapids add standing waves fixed over the
rocks, torn white-water streaks carried by the flow, turbulent chop and backlit wave crests; banks
get lacy contact foam. The water column refracts and absorbs the lit scene behind it per channel
(Beer-Lambert) with caustics on the bed, and the surface reflects the environment and screen-space
reflections by exact Fresnel with a GGX sun glint. surface_mode = 1 turns it into a plunge pool:
foam boiling out from the impact, the boil heaving the surface, the pattern pushed radially outward.
Every Tidewater look is supported through look_* (realistic, painted brushy streaks, cartoon flat
bands with white outline foam and stylised dashes, lowpoly faceted bands, pixel snapped and
posterised). Mesh contract: uv = (metres across, metres along), vertex colour = (speed/10,
rapids, slope*5, across 0..1), tangent = downstream. Written by kind_river, kind_stream and
kind_waterfall; modules/ripples keeps ripple_map, water_time and rain_amount current.
Built on shaderModules/twCommon.
Scoped to this part · feeds back into the world's score.