Skip to content
Snippets Groups Projects
Commit 1e26adf2 authored by Ptolemy's avatar Ptolemy
Browse files

SL-14707: Merge Sovereign Engineer's fix for clouds: Clouds are unusually dim in EEP

parent 95d6e34a
No related branches found
No related tags found
No related merge requests found
...@@ -1354,6 +1354,7 @@ Sovereign Engineer ...@@ -1354,6 +1354,7 @@ Sovereign Engineer
SL-11079 SL-11079
OPEN-343 OPEN-343
SL-11625 SL-11625
SL-14707
SpacedOut Frye SpacedOut Frye
VWR-34 VWR-34
VWR-45 VWR-45
......
...@@ -166,6 +166,7 @@ void main() ...@@ -166,6 +166,7 @@ void main()
(blue_horizon * blue_weight * (sunlight + tmpAmbient) + (haze_horizon * haze_weight) * (sunlight * haze_glow + tmpAmbient)); (blue_horizon * blue_weight * (sunlight + tmpAmbient) + (haze_horizon * haze_weight) * (sunlight * haze_glow + tmpAmbient));
// CLOUDS // CLOUDS
sunlight = sunlight_color; // SL-14707 reset color -- Clouds are unusually dim in EEP
off_axis = 1.0 / max(1e-6, lightnorm.y * 2.); off_axis = 1.0 / max(1e-6, lightnorm.y * 2.);
sunlight *= exp(-light_atten * off_axis); sunlight *= exp(-light_atten * off_axis);
......
...@@ -166,6 +166,7 @@ void main() ...@@ -166,6 +166,7 @@ void main()
(blue_horizon * blue_weight * (sunlight + tmpAmbient) + (haze_horizon * haze_weight) * (sunlight * haze_glow + tmpAmbient)); (blue_horizon * blue_weight * (sunlight + tmpAmbient) + (haze_horizon * haze_weight) * (sunlight * haze_glow + tmpAmbient));
// CLOUDS // CLOUDS
sunlight = sunlight_color; // SL-14707 reset color -- Clouds are unusually dim in EEP
off_axis = 1.0 / max(1e-6, lightnorm.y * 2.); off_axis = 1.0 / max(1e-6, lightnorm.y * 2.);
sunlight *= exp(-light_atten * off_axis); sunlight *= exp(-light_atten * off_axis);
......
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