Temperature and climate

circle-exclamation

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.

circle-exclamation

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 noisearrow-up-right 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.
circle-info

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

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

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

circle-info

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

Gradient perturbation

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

circle-info

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 noisearrow-up-right helps create distinct and natural patterns for different biomes.

circle-info

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

Frequency

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

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

circle-info

Ensure that the value must be > 0

Gradient perturbation

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

circle-info

Ensure that the value must be > 0

Last updated