summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-05-19 22:24:41 -0500
committerDave Parks <davep@lindenlab.com>2022-05-19 22:24:41 -0500
commit3564b24e2a90e0772c37185cc5dcedca29d62ab8 (patch)
tree9c0e7fa9d747d7bca7b25352bf8e28c875163e77 /indra/llrender/llshadermgr.cpp
parent02fb1bd6103cad5538fc170e015f4329f3545542 (diff)
SL-17286 Reflection probe alpha/fullbright support.
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r--indra/llrender/llshadermgr.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 8e8f44e99b..bdc1f78201 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -218,6 +218,14 @@ BOOL LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader)
}
}
+ if (features->hasReflectionProbes)
+ {
+ if (!shader->attachFragmentObject("deferred/reflectionProbeF.glsl"))
+ {
+ return FALSE;
+ }
+ }
+
if (features->hasAmbientOcclusion)
{
if (!shader->attachFragmentObject("deferred/aoUtil.glsl"))