diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-04-14 19:24:21 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-04-14 19:24:21 -0500 |
commit | 03bd681564f0b0a630f6330ab9c61daa4856e5fe (patch) | |
tree | 8776c76ae0faaa4e35cb0af7ff9d1a578cb2a2ee /indra/newview/lldrawpoolsimple.cpp | |
parent | d32bca67f17b978387ece4d9b220fc7b4d74a89b (diff) |
DRTVWR-559 Balance night scenes against release, nudge glow down a smidge, remove exposure correction from legacy fullbright balance PBR materials against legacy.
Diffstat (limited to 'indra/newview/lldrawpoolsimple.cpp')
-rw-r--r-- | indra/newview/lldrawpoolsimple.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolsimple.cpp b/indra/newview/lldrawpoolsimple.cpp index c956af97a5..3cc101b325 100644 --- a/indra/newview/lldrawpoolsimple.cpp +++ b/indra/newview/lldrawpoolsimple.cpp @@ -62,6 +62,13 @@ static void setup_glow_shader(LLGLSLShader* shader) static void setup_fullbright_shader(LLGLSLShader* shader) { setup_glow_shader(shader); + + S32 channel = shader->enableTexture(LLShaderMgr::EXPOSURE_MAP); + if (channel > -1) + { + gGL.getTexUnit(channel)->bind(&gPipeline.mExposureMap); + } + shader->uniform1f(LLViewerShaderMgr::FULLBRIGHT, 1.f); } |