From 40192da9779b2750f7b5dc0326551e3b7b3dc280 Mon Sep 17 00:00:00 2001 From: Joshua Yanovski Date: Thu, 22 Aug 2019 21:10:04 +0200 Subject: [PATCH] Closest attempt. --- world/src/column/mod.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/world/src/column/mod.rs b/world/src/column/mod.rs index 2d587e869c..0dd727cfb9 100644 --- a/world/src/column/mod.rs +++ b/world/src/column/mod.rs @@ -274,7 +274,13 @@ impl<'a> Sampler for ColumnGen<'a> { Rgb::lerp( Rgb::lerp( // below snow_temp - tundra, + Rgb::lerp( + tundra, + snow, + humidity.sub(CONFIG.desert_hum) + .sub((marble - 0.5) * 0.05) + .mul(256.0) + ), // snow_temp to 0 dirt, temp.sub(CONFIG.snow_temp)