Skip to content

Lakes ​

Simulate simulate.lakes

Fills hollows with water up to the level where each would overflow. Height is the lake bed (flattened by sediment), Water surface the lake level (the ground elsewhere), Lakes is white on water and Shore along the waterline.

Lakes with default settings

Output with default settings, rendered by LibreTerrain.

Inputs ​

PortType
TerrainHeightfield

Outputs ​

PortType
HeightHeightfield
Water surfaceHeightfield
LakesMask
ShoreMask

Settings ​

SettingDefaultRange / optionsDescription
Min depth1 m0 to 1,000 mHollows shallower than this at their deepest point stay dry.
Min area5,000 m²0 to 1,000,000,000 m²Lakes smaller than this stay dry, so puddles don't clutter the map.
Sediment infill0.30 to 1Share of each lake's depth filled with sediment, giving it a flat floor. 0 keeps the original bed; 1 fills the lake to its surface.
Shore width30 m0 to 10,000 mWidth of the Shore mask on each side of the waterline, in metres.
Detail size8 m1 to 1,000 mCell size water is routed at, in metres: about the width of the smallest streams. Smaller is slower. The result is the same at any preview or build resolution.

See also ​

Hydraulic Erosion · Rivers · Sea · Snow · Thermal Erosion

Code dual-licensed MIT / Apache-2.0. "LibreTerrain" and its logo belong to EllisonDigital.