Temperature and climate

Biomes temperature

Thresholds

biomes:
  temperature:
    coldest: 0.333
    cold: 0.666
    hot: 1.333
    scorching: 1.666

Imagine a linear temperature distribution, as depicted in the following image:

Drawing

You can customize the spacing for each temperature zone.

For example, if you want more snowy biomes, move 'COLDEST' and 'COLD' closer to 1 and farther from 0.

These values play a crucial role in achieving a natural biome generation by facilitating smooth transitions between the coldest and hottest biomes. Essentially, a procedural Perlin noise map (with the value interval shifted by +1) is generated, where the lowest values correspond to the coldest temperature, and the highest values represent scorching temperatures.

Drawing
A 3D representation of a 2D Perlin noise map. Values close to 0 represent valleys, while values near 2 indicate hills.

This procedural map, along with the Voronoi diagram, enables the generation of the biome map distributed by temperature. This is done to prevent biomes like the desert from bordering biomes like the taiga.

Frequency

biomes.temperature.frequency: 0.001

This noise is utilized to generate the temperature variations for the biomes.

NOTE: a frequency value closer to 0 results in larger features.

Ensure that the frequency value falls within the range: 0 < value < 1.

Gradient perturbation

biomes.temperature.gradient-perturb: 100.0

Gradient perturbation introduces torque distortion to the temperature noise within biomes. This distortion leads to more natural and diverse temperature patterns.

Ensure that the value must be > 0

Biomes cellular (Voronoi diagrams)

Voronoi diagrams are a mathematical concept that divides a space into regions based on their proximity to a set of points.

Voronoi diagram

In biome generation, Voronoi noise helps create distinct and natural patterns for different biomes.

This procedural map facilitates the generation of a biome map in which each cell represents a custom biome.

Frequency

biomes.cellular.frequency: 0.0075

This frequency value is utilized to create the pattern of biomes.

NOTE: a frequency value closer to 0 results in larger features.

Ensure that the value must be > 0

Gradient perturbation

biomes.cellular.gradient-perturb: 30.25

Gradient perturbation introduces a torque distortion effect to the Voronoi diagram. This modification results in more natural and realistic biome shapes.

Ensure that the value must be > 0

Last updated