From: Nils Dagsson Moskopp Date: Wed, 20 Jul 2011 00:44:51 +0000 (+0200) Subject: * by popular request, fewer clouds X-Git-Tag: 0.2.20110922~81^2~35^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ffd3cdf5197a3982b7607601d17100da47fc6eed;p=oweals%2Fminetest.git * by popular request, fewer clouds --- diff --git a/src/clouds.cpp b/src/clouds.cpp index 19bcca942..d754cc15e 100644 --- a/src/clouds.cpp +++ b/src/clouds.cpp @@ -84,7 +84,7 @@ void Clouds::render() */ const s16 cloud_radius_i = 12; - const float cloud_size = BS*50; + const float cloud_size = BS*48; const v2f cloud_speed(-BS*2, 0); // Position of cloud noise origin in world coordinates @@ -123,7 +123,7 @@ void Clouds::render() (float)p_in_noise_i.X*cloud_size/BS/200, (float)p_in_noise_i.Y*cloud_size/BS/200, m_seed, 3, 0.4); - if(noise < 0.8) + if(noise < 0.95) continue; float b = m_brightness;