diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-10-04 14:33:41 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-10-04 14:33:41 +0300 |
commit | 38170cd295f2019aa2408d43f28269677e13eb45 (patch) | |
tree | 82fb7389b6907ae1ec6d443ac638c16d3be57f3a /source | |
parent | 6c2c3ed2c9befaef5a6402388732c1c2057f1787 (diff) |
Cleanup: Remove commented out code in ssr_lib.glsl.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/ssr_lib.glsl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl b/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl index ea227ea9efd..3991f32b407 100644 --- a/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl +++ b/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl @@ -81,9 +81,6 @@ vec4 screen_space_refraction(vec3 vP, vec3 N, vec3 V, float ior, float roughness vec2 texture_size = vec2(textureSize(refractColorBuffer, 0).xy) / hizUvScale.xy; float mip = log2(cone_footprint * max(texture_size.x, texture_size.y)); - // Disabled. Causes incorrect LOD sampling on Nvidia cards. (T101438) - // mip = clamp(mip, 0.0, 9.0); - vec3 spec = textureLod(refractColorBuffer, hit_uvs * hizUvScale.xy, mip).xyz; float mask = screen_border_mask(hit_uvs); |