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
commit6791c856b27fb48bf8676f5a3f66c9f6cd1b43c4 (patch)
tree27678e61786572a7c8cad98ac164fe2223d4d11c
parent41919edb2f155f7c9be6a73a2a036824fd338bb6 (diff)
downloadminetest-6791c856b27fb48bf8676f5a3f66c9f6cd1b43c4.tar.gz
minetest-6791c856b27fb48bf8676f5a3f66c9f6cd1b43c4.tar.bz2
minetest-6791c856b27fb48bf8676f5a3f66c9f6cd1b43c4.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;