Eevee: SSS: Fix compilation errors.

Fix T55114
This commit is contained in:
2018-05-18 15:31:07 +02:00
parent 6e48afeb23
commit 83c2febaee

View File

@@ -2571,9 +2571,9 @@ void node_shadertorgb(Closure cl, out vec4 outcol, out float outalpha)
# ifdef USE_SSS
# ifdef USE_SSS_ALBEDO
outcol += (cl.sss_data * cl.sss_albedo);
outcol.rgb += cl.sss_data.rgb * cl.sss_albedo;
# else
outcol += cl.sss_data;
outcol.rgb += cl.sss_data.rgb;
# endif
# endif
}