terrain.procNode
README.md
terrain
The cityGen.city.terrain node generates the ground for a city based on a template's terrain section. It starts with a base flat terrain, then applies relief from spot heights and ridge/valley lines, and adds detail like noise and erosion. Designed ground features (floors, quays, landmasses) are laid over this, with later shapes overriding earlier ones. It also integrates designed ground from cityGen.beds (road beds, level pads, building pads), easing them into the landform. The node outputs a raster with height and surface layers (land, meadow, cliff, shore, paved, earth), which the terrain family reads. This node is the initial step in a city graph, producing the foundational terrain for urban development.