Skip to content
Snippets Groups Projects
Commit ffd3cdf5 authored by Nils Dagsson Moskopp's avatar Nils Dagsson Moskopp
Browse files

* by popular request, fewer clouds

parent ac2e822e
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ void Clouds::render() ...@@ -84,7 +84,7 @@ void Clouds::render()
*/ */
const s16 cloud_radius_i = 12; 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); const v2f cloud_speed(-BS*2, 0);
// Position of cloud noise origin in world coordinates // Position of cloud noise origin in world coordinates
...@@ -123,7 +123,7 @@ void Clouds::render() ...@@ -123,7 +123,7 @@ void Clouds::render()
(float)p_in_noise_i.X*cloud_size/BS/200, (float)p_in_noise_i.X*cloud_size/BS/200,
(float)p_in_noise_i.Y*cloud_size/BS/200, (float)p_in_noise_i.Y*cloud_size/BS/200,
m_seed, 3, 0.4); m_seed, 3, 0.4);
if(noise < 0.8) if(noise < 0.95)
continue; continue;
float b = m_brightness; float b = m_brightness;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment