diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-01-03 22:41:14 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-01-04 12:43:54 +0300 |
commit | 4df11e3c70688ea3759793946d998bf2e8d55c45 (patch) | |
tree | 62bd1a89c423fcd6fcf2e353659b46ac929a51eb /source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl | |
parent | 5ab2fc65c6d6ac10d298b2c648cf32ee50366741 (diff) |
Eevee: SSR: Fix ssr nor working in ogl render.
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl b/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl index 218ab5a169a..a9350dbc632 100644 --- a/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl +++ b/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl @@ -691,7 +691,6 @@ Closure closure_mix(Closure cl1, Closure cl2, float fac) } else { cl.ssr_data = mix(vec4(vec3(0.0), cl2.ssr_data.w), cl2.ssr_data.xyzw, fac); /* do not blend roughness */ - cl.ssr_data = mix(vec4(vec3(0.0), cl2.ssr_data.w), cl2.ssr_data.xyzw, fac); /* do not blend roughness */ cl.ssr_normal = cl2.ssr_normal; cl.ssr_id = cl2.ssr_id; } |