diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-19 19:07:34 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-19 19:07:34 -0500 |
commit | d3b4c4aecef1b7815f6d47ffee1e00eb08cbb431 (patch) | |
tree | e0e546b391dcca4004dd865e22aad3dde8b80079 /indra/newview | |
parent | a5233ed7747be6fb340e76544acb1a92399c042d (diff) |
SL-18190 Don't generate mips for irradiance maps because they're never sampled.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llreflectionmapmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp index 57ec51221e..2de31a5754 100644 --- a/indra/newview/llreflectionmapmanager.cpp +++ b/indra/newview/llreflectionmapmanager.cpp @@ -534,8 +534,9 @@ void LLReflectionMapManager::updateProbeFace(LLReflectionMap* probe, U32 face) } } - for (int i = start_mip; i < mMipChain.size(); ++i) + //for (int i = start_mip; i < mMipChain.size(); ++i) { + int i = start_mip; LL_PROFILE_GPU_ZONE("probe irradiance gen"); glViewport(0, 0, mMipChain[i].getWidth(), mMipChain[i].getHeight()); for (int cf = 0; cf < 6; ++cf) |