summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-10-09 18:44:43 +0100
committerGraham Linden <graham@lindenlab.com>2018-10-09 18:44:43 +0100
commitf8aac192378462b5824d28808ed84833e2cbfe0f (patch)
tree8b2cfff19afd6fce5e514471e59d3c1496653191 /indra/llrender
parent8c4258009b09f16751437d0549067ab2950e725a (diff)
SL-1289
add cloud_variance control for randomized perturbance of clouds to break up tiling monotony
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llshadermgr.cpp1
-rw-r--r--indra/llrender/llshadermgr.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 3927632dbe..e483f723f0 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -1327,6 +1327,7 @@ void LLShaderMgr::initAttribsAndUniforms()
mReservedUniforms.push_back("halo_map");
mReservedUniforms.push_back("moon_brightness");
mReservedUniforms.push_back("moon_phase");
+ mReservedUniforms.push_back("cloud_variance");
llassert(mReservedUniforms.size() == END_RESERVED_UNIFORMS);
diff --git a/indra/llrender/llshadermgr.h b/indra/llrender/llshadermgr.h
index 489caa49ae..af34c70c54 100644
--- a/indra/llrender/llshadermgr.h
+++ b/indra/llrender/llshadermgr.h
@@ -243,6 +243,8 @@ public:
MOON_BRIGHTNESS,
MOON_PHASE,
+ CLOUD_VARIANCE,
+
END_RESERVED_UNIFORMS
} eGLSLReservedUniforms;