From 2911cd3623b3e7e12945401db0e6a56758841ead Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Fri, 28 Jun 2019 15:57:22 -0700 Subject: SL-11519 Make refraction map include objects for all reflection detail levels. --- indra/newview/pipeline.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'indra') diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index bbc521f90e..a7adac98a8 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -9456,19 +9456,6 @@ void LLPipeline::generateWaterReflection(LLCamera& camera_in) mWaterDis.clear(); gGL.setColorMask(true, false); - if (detail < 4) - { - clearRenderTypeMask(LLPipeline::RENDER_TYPE_PARTICLES, END_RENDER_TYPES); - if (detail < 3) - { - clearRenderTypeMask(LLPipeline::RENDER_TYPE_AVATAR, END_RENDER_TYPES); - if (detail < 2) - { - clearRenderTypeMask(LLPipeline::RENDER_TYPE_VOLUME, END_RENDER_TYPES); - } - } - } - F32 water_dist = water_height * LLPipeline::sDistortionWaterClipPlaneMargin; //clip out geometry on the same side of water as the camera w/ enough margin to not include the water geo itself, -- cgit v1.2.3