diff options
| author | Dave Parks <davep@lindenlab.com> | 2023-04-07 11:06:09 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2023-04-07 11:06:09 -0500 |
| commit | de73cf7599e934441fe760f53163b0504c03adc7 (patch) | |
| tree | 7141fdad76010ccf1cb1f79fa5b016eb806ce7d6 /indra/newview/lldrawpoolwlsky.cpp | |
| parent | 72a0408401e4fa8f22ec8a70584bf90e5f0ccc73 (diff) | |
SL-19538 Remove clouds from irradiance maps and don't conflate max probe samples with max probe neighbors, and don't move manual probes after they are complete (removes flickering around Sponza).
Diffstat (limited to 'indra/newview/lldrawpoolwlsky.cpp')
| -rw-r--r-- | indra/newview/lldrawpoolwlsky.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp index b49fe35851..820073b3e0 100644 --- a/indra/newview/lldrawpoolwlsky.cpp +++ b/indra/newview/lldrawpoolwlsky.cpp @@ -442,7 +442,11 @@ void LLDrawPoolWLSky::renderDeferred(S32 pass) { renderStarsDeferred(origin); } - renderSkyCloudsDeferred(origin, camHeightLocal, cloud_shader); + + if (!gCubeSnapshot || gPipeline.mReflectionMapManager.isRadiancePass()) // don't draw clouds in irradiance maps to avoid popping + { + renderSkyCloudsDeferred(origin, camHeightLocal, cloud_shader); + } } gGL.setColorMask(true, true); } |
