diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2024-02-01 13:03:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 13:03:49 -0800 |
commit | 8cf4a7182af7db021a636b68af0f5fec1a032e41 (patch) | |
tree | 0b9f24309ec8c2d67681f0070d515aa658b7bc58 /indra/newview/pipeline.cpp | |
parent | b1410c8b679c14432038a62bff2de772f490bc4a (diff) | |
parent | aab98046b9971717ecdc739b2230377278c83da3 (diff) |
Merge pull request #721 from secondlife/geenz/mirror-depixelation
Fix for #684 - make mirrors not pixellated
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index d81bcef259..3bd7acb06a 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -785,6 +785,11 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples) mRT = &mAuxillaryRT; U32 res = mReflectionMapManager.mProbeResolution * 4; //multiply by 4 because probes will be 16x super sampled allocateScreenBuffer(res, res, samples); + + res = mHeroProbeManager.mProbeResolution; // We also scale the hero probe RT to the probe res since we don't super sample it. + mRT = &mHeroProbeRT; + allocateScreenBuffer(res, res, samples); + mRT = &mMainRT; gCubeSnapshot = FALSE; } |