diff options
author | Dave Parks <davep@lindenlab.com> | 2023-02-17 14:55:06 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-02-17 14:55:06 -0600 |
commit | cd0944caa692e6440f85d21fa706636fc5e46e27 (patch) | |
tree | 7fa866ce998e4631db92a827c9bd67668b3309fe /indra/newview/llreflectionmapmanager.cpp | |
parent | a91c970e3e74c911250fcc474577b414a7035f04 (diff) |
SL-19239 Redo integration of Sascha's radiance map filter.
Diffstat (limited to 'indra/newview/llreflectionmapmanager.cpp')
-rw-r--r-- | indra/newview/llreflectionmapmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp index 4377f26633..e760bc794c 100644 --- a/indra/newview/llreflectionmapmanager.cpp +++ b/indra/newview/llreflectionmapmanager.cpp @@ -94,7 +94,7 @@ void LLReflectionMapManager::update() if (!mRenderTarget.isComplete()) { - U32 color_fmt = GL_RGB16F; + U32 color_fmt = GL_RGB16; U32 targetRes = mProbeResolution * 2; // super sample mRenderTarget.allocate(targetRes, targetRes, color_fmt, true); } @@ -107,7 +107,7 @@ void LLReflectionMapManager::update() mMipChain.resize(count); for (int i = 0; i < count; ++i) { - mMipChain[i].allocate(res, res, GL_RGBA16F); + mMipChain[i].allocate(res, res, GL_RGBA16); res /= 2; } } |