From 5bd99a6c5cb578849d870e64dae3b78369a00d2c Mon Sep 17 00:00:00 2001 From: Graham Linden <graham@lindenlab.com> Date: Fri, 12 Jul 2019 10:50:59 -0700 Subject: [PATCH] SL-11370 Prevent Low/Low-mid from including things in the distortion map render it should not. --- indra/newview/pipeline.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index a7adac98a80..6f3e6819c45 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -9473,6 +9473,14 @@ void LLPipeline::generateWaterReflection(LLCamera& camera_in) clip_plane.disable(); } + // SL-11370 prevent Low/Low-Mid graphics from rendering distortion map contents it should not + if (!canUseWindLightShaders()) + { + clearRenderTypeMask(LLPipeline::RENDER_TYPE_PARTICLES, END_RENDER_TYPES); + clearRenderTypeMask(LLPipeline::RENDER_TYPE_AVATAR, END_RENDER_TYPES); + clearRenderTypeMask(LLPipeline::RENDER_TYPE_VOLUME, END_RENDER_TYPES); + } + updateCull(camera, mRefractedObjects, water_clip, &plane); stateSort(camera, mRefractedObjects); renderGeom(camera); -- GitLab