Log inGet started
Package

waterSurface.shader

This package holds more than this page lists. See all of its files in its world.

README.md

waterSurface

Still and gently moving water (lakes, ponds, pools and street puddles) in the five Tidewater looks. Realistic: the bed refracted through the surface with an animated caustic web projected onto it, Beer-Lambert extinction over the real water column (clear turquoise shallows, dark deep water), exact Fresnel between that and the reflection (scene probes + screen-space reflections + a shadowed GGX sun glint), lacy shore and contact foam where the column is thin, and normals from a gentle swell, layered scrolling detail (flow-aware), the shared GPU ripple field and procedural rain rings. Painted (banded colour with brush strokes, soft foam), cartoon (3 flat bands, crisp white shore outlines, specular blobs), lowpoly (faceted flat-shaded swell, banded) and pixel (world-texel snapping, palette, pixel foam) re-shade the same inputs. puddle_mode turns it into puddles that open with wetness; from below it is Snell's window. Used by the lake, pond, pool and puddles kinds; shared functions live in shaderModules/twCommon.