Modding:WorldGen Configuration: Difference between revisions

From Vintage Story Wiki
Line 48: Line 48:
=== Y-Thresholds ===
=== Y-Thresholds ===


Imagine you had a side view of a mountain and you could make it wider and thinner at any given elevation. This is approximately how the y-threshold system works. terrainYKeyPositions are the relative (0=bottom, 1=top of the world) coordinates and terrainYKeyThresholds define how much Percent of terrain should be solid blocks (0 = always air, 1 = always solid), or in other words it's density. We could also make a graph of this:
Imagine you had a side view of a mountain and you could make it wider and thinner at any given elevation. This is approximately how the y-threshold system works. terrainYKeyPositions are the relative (0=bottom, 1=top of the world) coordinates and terrainYKeyThresholds define how much Percent of terrain should be solid blocks (1 = always air, 0 = always solid), or in other words it's density. We could also make a graph of this:


[[File:Densitygraph.png]]
[[File:Densitygraph.png]]
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits