diff options
author | Rider Linden <rider@lindenlab.com> | 2019-04-05 23:41:59 +0000 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-04-05 23:41:59 +0000 |
commit | 570814a767fa04e78e18cbd8ae266418467bb299 (patch) | |
tree | 56e0e3aa9c09a61ea5f3e5f996e0ce97b0a349b5 /indra/newview/pipeline.cpp | |
parent | dde88112380939071a90dca502afaa4909f71201 (diff) | |
parent | fe589170d3faa5ca681baca7b9a664e2d851cd6e (diff) |
Merged in graham_linden/viewer-eep-fixes (pull request #340)
SL-10821, SL-10896, SL-10901
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 260292d3fb..7139788c18 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -8612,6 +8612,7 @@ void LLPipeline::renderDeferredLighting(LLRenderTarget* screen_target) LLEnvironment& environment = LLEnvironment::instance(); soften_shader.uniform1i(LLShaderMgr::SUN_UP_FACTOR, environment.getIsSunUp() ? 1 : 0); + soften_shader.uniform4fv(LLShaderMgr::LIGHTNORM, 1, environment.getClampedLightNorm().mV); { LLGLDepthTest depth(GL_FALSE); |