diff options
author | Dave Parks <davep@lindenlab.com> | 2023-03-02 16:36:03 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-03-02 16:36:03 -0600 |
commit | bc7856098f70371dd392c74689df267cce819aa7 (patch) | |
tree | cab4a765e34088ff63e4e9d496f6036513c4b337 /indra/newview/pipeline.cpp | |
parent | 0982c44b46bfcbbf0d9a7a9a93605112fd1a4bd4 (diff) |
SL-19281 Unify handling of haze and gamma between fullbright and not and move haze back to sRGB color space to stay consistent with sky colors. Also fix broken "roughness" stuck at 0.2.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index b5b5d9ef7f..fffccc72ea 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -8119,6 +8119,8 @@ void LLPipeline::renderDeferredLighting() soften_shader.uniform1i(LLShaderMgr::SUN_UP_FACTOR, environment.getIsSunUp() ? 1 : 0); soften_shader.uniform3fv(LLShaderMgr::LIGHTNORM, 1, environment.getClampedLightNorm().mV); + soften_shader.uniform4fv(LLShaderMgr::WATER_WATERPLANE, 1, LLDrawPoolAlpha::sWaterPlane.mV); + { LLGLDepthTest depth(GL_FALSE); LLGLDisable blend(GL_BLEND); |