city-generation/Game/Assets/Data/Biomes/Mountain.xml

12 lines
459 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<biome>
<name>Mountain</name>
<height>400</height>
<moisture min=".1" max=".3"/>
<vegetationDensity min=".5" max=".9" />
<textures>
<texture src="mountain" expr="0.2" />
<texture src="grass" expr="min(1 / (10 * steepness), (1 - ((height - waterLevel) / (maxHeight - waterLevel)))^14)" />
<texture src="snow" expr="2 * ((height - waterLevel) / (maxHeight - waterLevel))^2" />
</textures>
</biome>