diff options
author | Graham Linden <graham@lindenlab.com> | 2019-07-12 10:50:59 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-07-12 10:50:59 -0700 |
commit | 5bd99a6c5cb578849d870e64dae3b78369a00d2c (patch) | |
tree | 9e11c34762ffa77df7e364c226ee5b1e8b678d7e /indra/newview/pipeline.cpp | |
parent | b8f64c55b7da9ee84f5ae570ff12cc3a57ca0d07 (diff) |
SL-11370
Prevent Low/Low-mid from including things in the distortion map render it should not.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index a7adac98a8..6f3e6819c4 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); |