diff options
author | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2024-02-01 12:11:20 -0800 |
---|---|---|
committer | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2024-02-01 12:11:20 -0800 |
commit | fac63e473a4b2b7b9b361c4d5656c94d47d88ef0 (patch) | |
tree | 5ebb43f7ad841b168473a189493f2bb11b9d7917 /indra/newview/pipeline.cpp | |
parent | ac76b1b2565b2a5f812eaa12cf309afd4aed9410 (diff) |
#684 Fix pixellation on mirrors regardless of mirror resolution.
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; } |