Eevee: SSR: Use max lod on planar reflections.
This commit is contained in:
parent
a5e8618f48
commit
2fbbc8c643
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue