From 4735d3d6da006aeb253549176dea2762f3544ac2 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Fri, 23 Aug 2019 15:12:27 +0100 Subject: [PATCH] More interesting hills --- world/src/column/mod.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/world/src/column/mod.rs b/world/src/column/mod.rs index c89575e1e4..9e365db96a 100644 --- a/world/src/column/mod.rs +++ b/world/src/column/mod.rs @@ -175,8 +175,16 @@ impl<'a> Sampler for ColumnGen<'a> { .small_nz .get((wposf_turb.div(150.0)).into_array()) as f32) .abs() - .mul(chaos.max(0.15)) - .mul(64.0); + .mul(chaos.max(0.025)) + .mul(64.0) + + (sim + .gen_ctx + .small_nz + .get((wposf_turb.div(450.0)).into_array()) as f32) + .abs() + .mul(1.0 - chaos) + .mul(1.0 - humidity) + .mul(96.0); let is_cliffs = sim_chunk.is_cliffs; let near_cliffs = sim_chunk.near_cliffs;