terrainShape.module
README.md
lowWater.exterior.terrain
Height functions for Low Water's exterior ground: upstream(x, z) for the drained reservoir basin (village floor about y 6.5 to 7.5, valley walls rising steeply, the dam abutments keyed in at crest height, the mountain road cut into the east bank) and downstream(x, z) for the river valley below the dam. Also the pools, the old river channel (channelX) and the flat building pads. Used by the terrain sceneModule (mesh and HeightfieldCollider), the village, the lights module (pond and stream heights) and anything that needs ground height on the bed.
The upstream ground is drawn by lowWater.exterior.terrain (sceneModule) as two mesh assets it produces (silt and rock) plus a HeightfieldCollider from the same samples; lowWater.layout.bedY follows the same floor heights.