summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-03-28 15:51:29 -0500
committerDave Parks <davep@lindenlab.com>2023-03-28 15:51:29 -0500
commit81c440a4a962a314d85cee854365e6593b72e87c (patch)
tree4713e54cb905bfe9f5f8e1d49510d845cbf8a448 /indra/newview/pipeline.cpp
parent10f66c05190585e9de2e85831712323c297d81c4 (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.cpp6
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);