diff options
author | Dave Parks <davep@lindenlab.com> | 2023-03-28 15:51:29 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-03-28 15:51:29 -0500 |
commit | 81c440a4a962a314d85cee854365e6593b72e87c (patch) | |
tree | 4713e54cb905bfe9f5f8e1d49510d845cbf8a448 /indra/newview/pipeline.cpp | |
parent | 10f66c05190585e9de2e85831712323c297d81c4 (diff) |
DRTVWR-559 Dynamic exposure followup -- balance moon brightness and add glow to exposure sample.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 7b72d7f987..da8c46de83 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -7422,6 +7422,12 @@ void LLPipeline::renderFinalize() screenTarget()->bindTexture(0, channel, LLTexUnit::TFO_POINT); } + channel = gDeferredPostGammaCorrectProgram.enableTexture(LLShaderMgr::DEFERRED_EMISSIVE, screenTarget()->getUsage()); + if (channel > -1) + { + mGlow[1].bindTexture(0, channel, LLTexUnit::TFO_BILINEAR); + } + static LLStaticHashedString dt("dt"); gExposureProgram.uniform1f(dt, gFrameIntervalSeconds); |