summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/deferred
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-04-07 11:06:09 -0500
committerDave Parks <davep@lindenlab.com>2023-04-07 11:06:09 -0500
commitde73cf7599e934441fe760f53163b0504c03adc7 (patch)
tree7141fdad76010ccf1cb1f79fa5b016eb806ce7d6 /indra/newview/app_settings/shaders/class3/deferred
parent72a0408401e4fa8f22ec8a70584bf90e5f0ccc73 (diff)
SL-19538 Remove clouds from irradiance maps and don't conflate max probe samples with max probe neighbors, and don't move manual probes after they are complete (removes flickering around Sponza).
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred')
-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 e73e396b8e..e1b18935e8 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
@@ -134,7 +134,7 @@ void preProbeSample(vec3 pos)
int neighborIdx = refIndex[i].y;
if (neighborIdx != -1)
{
- int neighborCount = min(refIndex[i].z, REF_SAMPLE_COUNT-1);
+ int neighborCount = refIndex[i].z;
int count = 0;
while (count < neighborCount)