Skip to content
Snippets Groups Projects
Commit 1433434b authored by Jonathan "Geenz" Goodman's avatar Jonathan "Geenz" Goodman
Browse files

Update reflectionProbeF.glsl

DRTVWR-583
parent 7761ebea
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment