collision fixes

generator changes
This commit is contained in:
2024-09-02 20:53:11 -04:00
parent 9613e3ae0d
commit 2d1fb78ab8
10 changed files with 33 additions and 30 deletions

View File

@@ -163,7 +163,7 @@ fn create_heightmap(
) {
let config = GenerationConfig {
biome_blend: 32,
biome_dither: 16.,
biome_dither: 10.,
continent_noise: NoiseConfig {
scale: 800.,
layers: vec![GeneratorLayer {
@@ -176,7 +176,6 @@ fn create_heightmap(
weight: 0.,
weight_multi: 0.,
layers: 1,
first_layer_mask: false,
}],
},
moisture_noise: NoiseConfig {
@@ -191,7 +190,6 @@ fn create_heightmap(
weight: 0.,
weight_multi: 0.,
layers: 1,
first_layer_mask: false,
}],
},
temperature_noise: NoiseConfig {
@@ -206,7 +204,6 @@ fn create_heightmap(
weight: 0.,
weight_multi: 0.,
layers: 1,
first_layer_mask: false,
}],
},
sea_level: 8.5,

View File

@@ -9,6 +9,9 @@ impl Plugin for RenderDistancePlugin {
app.register_type::<RenderDistanceSettings>();
app.add_systems(PostUpdate, render_distance_system)
.insert_resource(RenderDistanceSettings::default());
#[cfg(debug_assertions)]
app.insert_resource(RenderDistanceSettings::new(f32::MAX));
}
}