summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-10-08 22:08:35 +0100
committerGraham Linden <graham@lindenlab.com>2018-10-08 22:08:35 +0100
commitffc6393309d06446f9d1361f0f0282b2110768ae (patch)
treef2a802ab7710126521be6826b8d5e3d5993de858 /indra/llrender
parent5eed233618abd7020e130799be2abe0f986543f6 (diff)
SL-9751
Add optional moon brightness setting
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llshadermgr.cpp2
-rw-r--r--indra/llrender/llshadermgr.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 153cef0317..3927632dbe 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -1325,6 +1325,8 @@ void LLShaderMgr::initAttribsAndUniforms()
mReservedUniforms.push_back("ice_level");
mReservedUniforms.push_back("rainbow_map");
mReservedUniforms.push_back("halo_map");
+ mReservedUniforms.push_back("moon_brightness");
+ mReservedUniforms.push_back("moon_phase");
llassert(mReservedUniforms.size() == END_RESERVED_UNIFORMS);
diff --git a/indra/llrender/llshadermgr.h b/indra/llrender/llshadermgr.h
index ffdd2da529..489caa49ae 100644
--- a/indra/llrender/llshadermgr.h
+++ b/indra/llrender/llshadermgr.h
@@ -239,6 +239,10 @@ public:
ICE_LEVEL,
RAINBOW_MAP,
HALO_MAP,
+
+ MOON_BRIGHTNESS,
+ MOON_PHASE,
+
END_RESERVED_UNIFORMS
} eGLSLReservedUniforms;