summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-08 10:28:15 -0600
committerDave Parks <davep@lindenlab.com>2023-02-08 10:28:15 -0600
commit0a2cd5a30222e51b744fde9b823dc8cd1de7236c (patch)
tree76dbb9650a4234cdc5e9eb53358e54858a3be03b
parent4586ceaf9bd868fb33d826d1e5c824cbc9c2276a (diff)
DRTVWR-559 Quick fix for radiance map filter using wrong resolution parameter.
-rw-r--r--indra/newview/llreflectionmapmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp
index 04bce58114..fd2906fa37 100644
--- a/indra/newview/llreflectionmapmanager.cpp
+++ b/indra/newview/llreflectionmapmanager.cpp
@@ -592,7 +592,7 @@ void LLReflectionMapManager::updateProbeFace(LLReflectionMap* probe, U32 face)
gRadianceGenProgram.uniform1f(sRoughness, (F32)i / (F32)(mMipChain.size() - 1));
gRadianceGenProgram.uniform1f(sMipLevel, i);
- gRadianceGenProgram.uniform1i(sWidth, mMipChain[i].getWidth());
+ gRadianceGenProgram.uniform1i(sWidth, mProbeResolution);
for (int cf = 0; cf < 6; ++cf)
{ // for each cube face