summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-28 15:57:22 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-28 15:57:22 -0700
commit2911cd3623b3e7e12945401db0e6a56758841ead (patch)
tree9951f4b5531a7ba5932b9146261e69f24cb164a3 /indra/newview
parent21536f412edab7f3c1d6a9eb93f47015a0c8ad5c (diff)
SL-11519
Make refraction map include objects for all reflection detail levels.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/pipeline.cpp13
1 files changed, 0 insertions, 13 deletions
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,