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

meow-7.2.2
RunitaiLinden 2023-05-24 10:58:39 -05:00
parent df35005a9b
commit 96eb5f08b1
1 changed files with 2 additions and 0 deletions

View File

@ -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);