summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-06-10 11:52:32 -0500
committerDave Parks <davep@lindenlab.com>2022-06-10 11:52:32 -0500
commit5eb6591d0a5252f0bdd1db9ef551a526099b5a99 (patch)
treea5775f6939b66d9e4739b81dcc5e2d6246754199 /indra/newview/app_settings
parent509476f95ed75ce8289ecd69b4c94d9912e1d3df (diff)
SL-17574 Fix for box probes not applying.
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
index b3396baeba..4a40f691be 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
@@ -349,7 +349,7 @@ vec3 sampleProbes(vec3 pos, vec3 dir, float lod, float minweight)
for (int idx = 0; idx < probeInfluences; ++idx)
{
int i = probeIndex[idx];
- if (refIndex[i].w < max_priority)
+ if (abs(refIndex[i].w) < max_priority)
{
continue;
}