From f3adf6ab5fc29d2552acbf532a5d12dba74814a2 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Fri, 21 Jun 2019 09:08:20 +0100 Subject: [PATCH] Improved mountain rock transition --- world/src/column/mod.rs | 2 +- world/src/sim/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/world/src/column/mod.rs b/world/src/column/mod.rs index 06da8687f2..1b633beee7 100644 --- a/world/src/column/mod.rs +++ b/world/src/column/mod.rs @@ -165,7 +165,7 @@ impl<'a> Sampler for ColumnGen<'a> { - marble * 24.0) / 12.0, ), - (alt - CONFIG.sea_level - 0.2 * CONFIG.mountain_scale + marble * 48.0) / 100.0, + (alt - CONFIG.sea_level - 0.3 * CONFIG.mountain_scale + marble * 128.0) / 100.0, ), // Beach ((alt - CONFIG.sea_level - 2.0) / 5.0).min(1.0 - river * 2.0), diff --git a/world/src/sim/mod.rs b/world/src/sim/mod.rs index 8e0ce3fcb0..99bdf80c78 100644 --- a/world/src/sim/mod.rs +++ b/world/src/sim/mod.rs @@ -283,7 +283,7 @@ impl SimChunk { .add(0.5) .min(1.0), ) - .powf(1.4) + .powf(1.5) .add(0.1 * hill); let chaos = chaos + chaos.mul(16.0).sin().mul(0.02); @@ -296,7 +296,7 @@ impl SimChunk { let alt_main = (gen_ctx.alt_nz.get((wposf.div(2_000.0)).into_array()) as f32) .abs() - .powf(1.7); + .powf(1.8); let alt = CONFIG.sea_level + alt_base