aboutsummaryrefslogtreecommitdiff
path: root/src/sky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sky.cpp')
-rw-r--r--src/sky.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sky.cpp b/src/sky.cpp
index 211a2dcdc..7f999feb0 100644
--- a/src/sky.cpp
+++ b/src/sky.cpp
@@ -534,8 +534,10 @@ void Sky::update(float time_of_day, float time_brightness,
video::SColorf skycolor_bright_dawn_f = video::SColor(255, 180, 186, 250);
video::SColorf skycolor_bright_night_f = video::SColor(255, 0, 107, 255);
- video::SColorf cloudcolor_bright_normal_f = video::SColor(255, 240, 240, 255);
- video::SColorf cloudcolor_bright_dawn_f = video::SColor(255, 255, 223, 191);
+ // pure white: becomes "diffuse light component" for clouds
+ video::SColorf cloudcolor_bright_normal_f = video::SColor(255, 255, 255, 255);
+ // dawn-factoring version of pure white (note: R is above 1.0)
+ video::SColorf cloudcolor_bright_dawn_f(255.0f/240.0f, 223.0f/240.0f, 191.0f/255.0f);
float cloud_color_change_fraction = 0.95;
if (sunlight_seen) {