Eevee: Fix: Regression when using ssr and default shader

This commit is contained in:
Clément Foucault 2019-08-14 15:56:45 +02:00
parent 0dcd442c1f
commit f0f5e11b33
1 changed files with 1 additions and 1 deletions

View File

@ -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;