diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-05-24 10:58:39 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-05-24 10:58:39 -0500 |
commit | 96eb5f08b1ae5bbf001fac0af1358c703a7f22e5 (patch) | |
tree | f1c4fe66ea49a0024f3f37534c21df3b1cf991c0 /indra | |
parent | df35005a9b8796d3afcb5cb1d6a75d997a137a11 (diff) |
SL-19755 Small tweak to make exposure not start at black.
Diffstat (limited to 'indra')
-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 a49c57ba1e..9a8597e519 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1280,7 +1280,9 @@ void LLPipeline::createLUTBuffers() mExposureMap.allocate(1, 1, GL_R16F); mExposureMap.bindTarget(); + glClearColor(1, 1, 1, 0); mExposureMap.clear(); + glClearColor(0, 0, 0, 0); mExposureMap.flush(); mLuminanceMap.allocate(256, 256, GL_R16F, false, LLTexUnit::TT_TEXTURE, LLTexUnit::TMG_AUTO); |