diff options
author | Dave Houlton <euclid@lindenlab.com> | 2019-12-20 10:29:46 -0700 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2019-12-20 10:29:46 -0700 |
commit | 4ec316871563ffafc39ffb69fee48b80cee9c2f5 (patch) | |
tree | af317372782818fa9a505cdd216c66f9011ac8c9 /indra/newview | |
parent | b4987c5f5c08669d2e7a97eeacf222ff5120c490 (diff) |
SL-11606 final tweak of non-ALM lights strength
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llsettingsvo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp index 32398aa609..d96f276a71 100644 --- a/indra/newview/llsettingsvo.cpp +++ b/indra/newview/llsettingsvo.cpp @@ -644,14 +644,14 @@ void LLSettingsVOSky::updateSettings() // Want the dot prod of sun w/ high noon vector (0,0,1), which is just the z component F32 dp = llmax(sun_direction[2], 0.0f); // clamped to 0 when sun is down - // Since WL scales everything by 2, there should always be at least a 2:1 brightness ratio - // between sunlight and point lights in windlight to normalize point lights. + // Since WL scales everything by 2, there should always be at least a 2:1 brightness ratio + // between sunlight and point lights in windlight to normalize point lights. // // After some A/B comparison of relesae vs EEP, tweak to allow strength to fall below 2 // at night, for better match. (mSceneLightStrength is a divisor, so lower value means brighter // local lights) F32 sun_dynamic_range = llmax(gSavedSettings.getF32("RenderSunDynamicRange"), 0.0001f); - mSceneLightStrength = 2.0f * (0.65f + sun_dynamic_range * dp); + mSceneLightStrength = 2.0f * (0.75f + sun_dynamic_range * dp); gSky.setSunAndMoonDirectionsCFR(sun_direction, moon_direction); gSky.setSunTextures(getSunTextureId(), getNextSunTextureId()); |