Eevee: SSR: Use max lod on planar reflections.

This commit is contained in:
Clément Foucault 2017-11-01 01:08:58 +01:00
parent a5e8618f48
commit 2fbbc8c643
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ vec4 get_ssr_sample(
vec3 sample;
if (is_planar) {
sample = textureLod(probePlanars, vec3(ref_uvs, planar_index), mip).rgb;
sample = textureLod(probePlanars, vec3(ref_uvs, planar_index), min(mip, lodPlanarMax)).rgb;
}
else {
sample = textureLod(prevColorBuffer, ref_uvs, mip).rgb;