Tidewater: Oceans, Lakes, Rivers, Waterfalls, Swimming and Splashes Water Kit
- ..
- .metadata71 B
- README.md512 B
- bindings.yaml1.6 KB
- shader.wgsl3.4 KB
README.md
tw_ripple_step
One step of Tidewater's camera-centred ripple field: the damped 2D wave equation over a
square height grid (256² over 64 m on desktop), re-read at a whole-texel offset when the
camera moves, with an absorbing border, Gaussian drops injected from Ripples.drop and
statistical raindrops from a per-texel hash. On the frame's last substep it writes the
field as an rgba16f texture (height, dh/dx, dh/dz) that every Tidewater water material
samples for its normals. Driven by modules/ripples.