summaryrefslogtreecommitdiff
path: root/indra/newview/llsky.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-07-10 19:08:14 +0100
committerGraham Linden <graham@lindenlab.com>2018-07-10 19:08:14 +0100
commita90e61b798711306496c2ed7aa5cce6d096ea466 (patch)
tree2fece6efe6d986d6518df28df2a2daed95b5ff70 /indra/newview/llsky.cpp
parent4fde1adbcf7d79bc4e80078c2f553b8ec020a1c3 (diff)
Support blending current/next bloom textures in deferred star rendering.
Diffstat (limited to 'indra/newview/llsky.cpp')
-rw-r--r--indra/newview/llsky.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llsky.cpp b/indra/newview/llsky.cpp
index 5d85778da5..9c7fc225a0 100644
--- a/indra/newview/llsky.cpp
+++ b/indra/newview/llsky.cpp
@@ -150,6 +150,13 @@ void LLSky::setCloudNoiseTextures(const LLUUID& cloud_noise_texture, const LLUUI
}
}
+void LLSky::setBloomTextures(const LLUUID& bloom_texture, const LLUUID& bloom_texture_next)
+{
+ if(mVOSkyp.notNull()) {
+ mVOSkyp->setBloomTextures(bloom_texture, bloom_texture_next);
+ }
+}
+
void LLSky::setSunAndMoonDirectionsCFR(const LLVector3 &sun_direction, const LLVector3 &moon_direction)
{
if(mVOSkyp.notNull()) {