aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-20 02:44:51 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-20 02:44:51 +0200
commitffd3cdf5197a3982b7607601d17100da47fc6eed (patch)
tree36f1b3b3e6765b6fa2d95d597c202dfe88f62bc3
parentac2e822ea18c194b9747ca63dd69262b79a190e0 (diff)
downloadminetest-ffd3cdf5197a3982b7607601d17100da47fc6eed.tar.gz
minetest-ffd3cdf5197a3982b7607601d17100da47fc6eed.tar.bz2
minetest-ffd3cdf5197a3982b7607601d17100da47fc6eed.zip
* by popular request, fewer clouds
-rw-r--r--src/clouds.cpp4
1 files changed, 2 insertions, 2 deletions
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;