i downloaded the awsome project “BrickGame” from and i’m playing around
im learning c++ and i want to implement biomes in the project and wanted to improve the Generration of the terrain
so i played around with the parameters and found that some parameters for different biomes : Plains , Mountains …
so i need help on how to set different parameters on different chunks in the world
Thank your for your time and sorry for my bad English
The philosophy in the BrickGame terrain generator is to use the very slowly varying “moisture” and “erosion” parameters to provide variation between different areas of the world. I know this isn’t apparent in the results, so the idea of distinct biomes may work better. I would start by modifying the C++ code to add another noise function to the terrain generation parameters that you use to interpolate between the other noise functions you’ve set up for different biomes.
If you have two biomes, you might add one noise function that interpolates between two distinct instances of the BrickTerrainGeneration struct. You can apply a smooth step function to that noise function to ensure there are areas that are entirely one biome or the other.
If you want three or four biomes, you might add a second noise function that together with the first noise function blends between the biomes at the corners of a triangle or square. And so on.