kind_lake.module
This package holds more than this page lists. See all of its files in its world.
README.md
kind_lake
Builds lake water for Tidewater (see ARCHITECTURE.md, "The kind contract"): a still sheet at the
entity's height over a rectangle (size = { w, l }, corners rounded, shoreline wobbled by noise) or
any polygon (shape = { {x, z}, ... }, entity space), with a sculpted bed under it (depth, banks
bankHeight/bankWidth, bed = false to sit it on your own terrain), shaded by shaders/waterSurface
in all seven looks, declared to physics (flat, or a grid of levels for polygons), bound to the
ripple field and registered for underwater. Presets: alpineClear, tropicalLagoon, murkyPond,
glacierMilky, darkPeat, nightStill. Any preset field can be overridden: absorption, scatter,
shallow, deep, turbidity, detailScale, detailStrength, waveAmplitude, waveLength, flow, roughness,
caustics, causticsScale, foamRange, foamAmount, mirror, rain, bedColor, bankColor, fog, fogDensity.
Also exports Kind.common, the shared still-water builder the pond, pool and puddles kinds use
(outline SDF, surface and bed geometry, material params, the handle with live setLook).