mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-22 14:58:44 -06:00
rotate elevation noise
This commit is contained in:
parent
7612ea8d8d
commit
626e9e654d
|
@ -38,7 +38,7 @@ pub fn generate_world(chunk_position: IVec3, seed: u64) -> BlockData {
|
||||||
height_noise.set_fractal_octaves(4);
|
height_noise.set_fractal_octaves(4);
|
||||||
height_noise.set_frequency(0.003);
|
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_type(FractalType::FBM);
|
||||||
elevation_noise.set_fractal_octaves(1);
|
elevation_noise.set_fractal_octaves(1);
|
||||||
elevation_noise.set_frequency(0.001);
|
elevation_noise.set_frequency(0.001);
|
||||||
|
|
Loading…
Reference in a new issue