From 405f55d725ae4fd0ffd69dd9f115bbe0b8c306fa Mon Sep 17 00:00:00 2001 From: Joshua Yanovski Date: Mon, 19 Aug 2019 19:46:47 +0200 Subject: [PATCH] Smoother blending into sand. --- world/src/column/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/world/src/column/mod.rs b/world/src/column/mod.rs index e34400fcdf..598d066d6f 100644 --- a/world/src/column/mod.rs +++ b/world/src/column/mod.rs @@ -299,11 +299,11 @@ impl<'a> Sampler for ColumnGen<'a> { ), // above desert_temp sand, - temp.sub(CONFIG.desert_temp).mul(4.0), + temp.sub(CONFIG.desert_temp).mul(0.5), ), humidity.sub(CONFIG.desert_hum) .div(CONFIG.forest_hum.sub(CONFIG.desert_hum)) - .mul(4.0) + .mul(1.0) ); // From forest to jungle humidity, we go from snow to moss to grass to tropics to sand // depending on temperature. @@ -333,11 +333,11 @@ impl<'a> Sampler for ColumnGen<'a> { ), // above desert_temp sand, - temp.sub(CONFIG.desert_temp).mul(4.0), + temp.sub(CONFIG.desert_temp).mul(0.5), ), humidity.sub(CONFIG.forest_hum) .div(CONFIG.jungle_hum.sub(CONFIG.forest_hum)) - .mul(4.0) + .mul(1.0) ); // From jungle humidity upwards, we go from snow to grass to rainforest to tropics to sand. let ground = Rgb::lerp( @@ -366,9 +366,9 @@ impl<'a> Sampler for ColumnGen<'a> { ), // above desert_temp sand, - temp.sub(CONFIG.desert_temp).mul(4.0), + temp.sub(CONFIG.desert_temp).mul(0.5), ), - humidity.sub(CONFIG.jungle_hum).mul(4.0) + humidity.sub(CONFIG.jungle_hum).mul(1.0) ); /* let ground = Rgb::lerp(