From 156ced16c5d0c89d75cfa3bf8ca1e0fcddecb3c2 Mon Sep 17 00:00:00 2001 From: Gemu Peachems Date: Sat, 17 Feb 2024 02:01:01 +0100 Subject: [PATCH] Change various cave colors --- world/src/layer/cave.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/world/src/layer/cave.rs b/world/src/layer/cave.rs index fcb78aedf4..6ba9cdc7cf 100644 --- a/world/src/layer/cave.rs +++ b/world/src/layer/cave.rs @@ -229,7 +229,7 @@ impl Tunnel { // temperatures let mushroom = underground * close(humidity, 1.0, 0.7) - * close(temp, 0.25, 1.0) + * close(temp, 0.25, 2.0) * close(depth, 0.8, 0.5); // Extremely hot and dry areas deep underground let fire = underground @@ -519,7 +519,7 @@ fn write_column( .max(biome.icy - 0.6) .max(biome.sandy - 0.3) .max(biome.leafy - 0.4) - .max(biome.mushroom - 0.5) + .max(biome.mushroom - 0.4) { cavern_height * col.marble_mid as f64 } else { @@ -787,8 +787,8 @@ fn write_column( block_kind, Rgb::new( 30, - 50 + (radial * 100.0) as u8, - 100 - (radial * 50.0) as u8, + 120 + (radial * 30.0) as u8, + 180 - (radial * 30.0) as u8, ), )); } else if head_dist < 1.0 { @@ -951,8 +951,8 @@ fn write_column( .magnitude_squared() < 1.0f32 { - let kind = BlockKind::GlowingMushroom; - Some(Block::new(kind, Rgb::new(0, 95, 200))) + let kind = BlockKind::GlowingRock; + Some(Block::new(kind, Rgb::new(10, 70, 148))) } else { None } @@ -987,8 +987,8 @@ fn write_column( Lerp::lerp( Lerp::lerp( Lerp::lerp( - Rgb::new(80, 100, 150), - Rgb::new(0, 75, 200), + Rgb::new(20, 21, 49), + Rgb::new(23, 44, 88), biome.mushroom, ), Lerp::lerp( @@ -1006,8 +1006,8 @@ fn write_column( biome.sandy, ), Lerp::lerp( - Rgb::new(0, 100, 50), - Rgb::new(80, 100, 20), + Rgb::new(0, 73, 12), + Rgb::new(49, 63, 12), col.marble_small, ), biome.leafy,