diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2020-03-17 15:45:52 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2020-03-17 15:45:52 +0000 |
commit | efd69ead5ed155b334d1730f702be257956e5f5f (patch) | |
tree | d2fe80c51b52637b8bd0bb9b56b02031f3c5524e /indra | |
parent | e85fe64a5649c5250299e6b9caeffc83fcfc409c (diff) | |
parent | 49239e8fe178c313771a1d8b389844761cd740ad (diff) |
Merged in SL-12574_tweak_brightness (pull request #39)
SL-12574: Tweak sky cubemap to not be as dark to better match Windlight
Approved-by: Dave Houlton <euclid@lindenlab.com>
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); } |