Skip to content

Commit

Permalink
Better biome transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Janorico committed Oct 17, 2024
1 parent 4841476 commit c1d8afd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/voxelfun2/worldgen/voxel_generator_voxelfun2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ VoxelGeneratorVoxelFun2::VoxelGeneratorVoxelFun2() {
cheese_cave_noise.set_period(128.0);
// Biomes
humidity_noise.set_period(2048.0);
humidity_noise.set_fractal_octaves(2);
humidity_noise.set_fractal_lacunarity(80.0f);
humidity_noise.set_fractal_gain(0.1f);
humidity_noise.set_fractal_weighted_strength(2.5f);
temperature_noise.set_period(2048.0);
temperature_noise.set_fractal_octaves(2);
temperature_noise.set_fractal_lacunarity(80.0f);
temperature_noise.set_fractal_gain(0.1f);
temperature_noise.set_fractal_weighted_strength(2.5f);
// Other stuff
update_seed(_parameters.seed);
}
Expand Down

0 comments on commit c1d8afd

Please sign in to comment.