summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-03-04 08:04:18 -0800
committerGraham Linden <graham@lindenlab.com>2019-03-04 08:04:18 -0800
commit45a541d2d5ccff4279441c715d3f80890e71beb9 (patch)
treef16c1cf45d8bd5e2d4d021ed7b01d729f545d688 /indra/llrender
parent4c3050a3953153aa8753fc10706ad2ef464f3e3d (diff)
SL-10566
Disable pre-cull of water causing refraction/reflection map generation more than is necessary. Re-org alpha draws to limit state changes based on render type.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llatmosphere.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llrender/llatmosphere.cpp b/indra/llrender/llatmosphere.cpp
index a0b92564c3..ffc17c89f8 100644
--- a/indra/llrender/llatmosphere.cpp
+++ b/indra/llrender/llatmosphere.cpp
@@ -80,8 +80,6 @@ const double kMieAngstromBeta = 5.328e-3;
const double kMieSingleScatteringAlbedo = 0.9;
const double kGroundAlbedo = 0.1;
-const double max_sun_zenith_angle = F_PI * 2.0 / 3.0;
-
AtmosphericModelSettings::AtmosphericModelSettings()
: m_skyBottomRadius(6360.0f)
, m_skyTopRadius(6420.0f)