diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-28 19:14:00 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-28 19:14:00 -0500 |
commit | 2e499bcc40871b6a68700203cc83fe7d81c79c24 (patch) | |
tree | 5204d535fb875bc65f2278aa1be19ad1da54fd73 /indra/newview/llsettingsvo.cpp | |
parent | 2f082bb4ee433cba857499559dbfb30886fd0fb4 (diff) |
SL-18190 Prune srgb_to_linear from atmosphericsFuncs.glsl
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r-- | indra/newview/llsettingsvo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp index fd1e69b9d3..a5a8ec4a93 100644 --- a/indra/newview/llsettingsvo.cpp +++ b/indra/newview/llsettingsvo.cpp @@ -723,6 +723,10 @@ void LLSettingsVOSky::applySpecial(void *ptarget, bool force) shader->uniform1f(LLShaderMgr::GAMMA, g); shader->uniform1f(LLShaderMgr::DISPLAY_GAMMA, display_gamma); + + shader->uniform3fv(LLShaderMgr::BLUE_HORIZON_LINEAR, linearColor3v(getBlueHorizon())); + shader->uniform3fv(LLShaderMgr::BLUE_DENSITY_LINEAR, linearColor3v(getBlueDensity())); + shader->uniform1f(LLShaderMgr::HAZE_DENSITY_LINEAR, sRGBtoLinear(getHazeDensity())); } LLSettingsSky::parammapping_t LLSettingsVOSky::getParameterMap() const |