From 916f9058be22ca88ec3edc584e956f246112854f Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 16 Feb 2023 02:57:04 +0100 Subject: [PATCH] rotate elevation noise --- kubi-shared/src/worldgen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubi-shared/src/worldgen.rs b/kubi-shared/src/worldgen.rs index 57cb98c..63a3dff 100644 --- a/kubi-shared/src/worldgen.rs +++ b/kubi-shared/src/worldgen.rs @@ -38,7 +38,7 @@ pub fn generate_world(chunk_position: IVec3, seed: u64) -> BlockData { height_noise.set_fractal_octaves(4); height_noise.set_frequency(0.003); - let mut elevation_noise = FastNoise::seeded(seed); + let mut elevation_noise = FastNoise::seeded(seed.rotate_left(1)); elevation_noise.set_fractal_type(FractalType::FBM); elevation_noise.set_fractal_octaves(1); elevation_noise.set_frequency(0.001);