From: Nils Dagsson Moskopp Date: Wed, 20 Jul 2011 00:44:51 +0000 (+0200) Subject: * by popular request, fewer clouds X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ffd3cdf5197a3982b7607601d17100da47fc6eed;p=zefram%2Fminetest%2Fminetest_engine.git * by popular request, fewer clouds --- diff --git a/src/clouds.cpp b/src/clouds.cpp index 19bcca94..d754cc15 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;