summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2023-09-08 23:01:16 -0700
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2023-09-08 23:01:16 -0700
commit1433434bf134b76220fa2c31c16f36459b463e32 (patch)
tree75881cdb330294eaffae8afe3e9a2981bc70e81e
parent7761ebea4836e0e30148711159ea744bcaea28a9 (diff)
Update reflectionProbeF.glsl
DRTVWR-583
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
index adbf7abdd1..549ac50280 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl
@@ -71,9 +71,6 @@ layout (std140) uniform ReflectionProbes
// number of reflection probes present in refSphere
int refmapCount;
-
- vec4 heroPosition[1];
- int heroProbeCount;
};
// Inputs
@@ -523,10 +520,6 @@ vec3 tapRefMap(vec3 pos, vec3 dir, out float w, out float dw, float lod, vec3 c,
v = env_mat * v;
-#if defined(HERO_PROBES)
- vec3 mirror = textureLod(heroProbes, vec4(v.xyz, 0), lod).rgb;
-#endif
-
vec4 ret = textureLod(reflectionProbes, vec4(v.xyz, refIndex[i].x), lod) * refParams[i].y;
return ret.rgb;