diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2020-03-16 19:43:14 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2020-03-16 19:44:54 -0700 |
commit | 49239e8fe178c313771a1d8b389844761cd740ad (patch) | |
tree | f8857762d8a2bc230718e3e4b7a45ddf6b76d87e /indra | |
parent | 6ce83f92b78d41feccaad73cc0e2cf1852792036 (diff) |
SL-12574: Tweak sky cubemap to not be as dark to better match Windlight
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/lllegacyatmospherics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lllegacyatmospherics.cpp b/indra/newview/lllegacyatmospherics.cpp index e061b3ad17..3c675f7c4f 100644 --- a/indra/newview/lllegacyatmospherics.cpp +++ b/indra/newview/lllegacyatmospherics.cpp @@ -254,7 +254,8 @@ LLColor4 LLAtmospherics::calcSkyColorInDir(const LLSettingsSky::ptr_t &psky, Atm F32 brightness = vars.hazeColor.brightness(); F32 greyscale_sat = brightness * (1.0f - sky_saturation); LLColor3 sky_color = vars.hazeColor * sky_saturation + smear(greyscale_sat); - //sky_color *= (0.5f + 0.5f * brightness); // SL-12574 EEP sky was too dark dark grey/blue, lighten it slightly + //sky_color *= (0.5f + 0.5f * brightness); + sky_color *= (0.85f + 0.15f*brightness); // SL-12574 EEP sky is being attenuated too much; brighten it slightly until calcSkyColorWLVert() is fixed to match Windlight return LLColor4(sky_color, 0.0f); } |