Skip to content
Snippets Groups Projects
Commit 96eb5f08 authored by David Parks's avatar David Parks
Browse files

SL-19755 Small tweak to make exposure not start at black.

parent df35005a
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment