* by popular request, fewer clouds
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Wed, 20 Jul 2011 00:44:51 +0000 (02:44 +0200)
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Wed, 20 Jul 2011 00:44:51 +0000 (02:44 +0200)
src/clouds.cpp

index 19bcca942fbf606e98aeca9e5bd231572f5ac720..d754cc15e2f0b93972a517037c233b720f8c6d7c 100644 (file)
@@ -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;