diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-08-14 16:56:45 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-08-14 17:43:52 +0300 |
commit | f0f5e11b33ed15de47ba87d2d86295fcfb030fe0 (patch) | |
tree | 13148fbe437fc5d6a86a3d935bd5b80f6e4069dc /source/blender/draw/engines/eevee/shaders/default_frag.glsl | |
parent | 0dcd442c1f23e0210363cb6c2ec0c2a6e39c35af (diff) |
Eevee: Fix: Regression when using ssr and default shader
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/default_frag.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/default_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/default_frag.glsl b/source/blender/draw/engines/eevee/shaders/default_frag.glsl index 561f1335cb8..1f60661d234 100644 --- a/source/blender/draw/engines/eevee/shaders/default_frag.glsl +++ b/source/blender/draw/engines/eevee/shaders/default_frag.glsl @@ -35,7 +35,7 @@ Closure nodetree_exec(void) Closure cl = CLOSURE_DEFAULT; cl.radiance = out_spec + out_diff * albedo; - closure_load_ssr_data(ssr_spec, roughness, N, viewCameraVec, 0, cl); + closure_load_ssr_data(ssr_spec, roughness, N, viewCameraVec, 1, cl); #ifdef LOOKDEV gl_FragDepth = 0.0; |