Fix #117123: EEVEE: Broken Specular BSDF

Add missing disable sss flag
This commit is contained in:
Miguel Pozo
2024-01-15 16:57:18 +01:00
parent 709b00179f
commit ef6b6031de
@@ -44,6 +44,8 @@ void node_eevee_specular(vec4 diffuse,
* So this has no performance penalty. However, using a separate closure for subsurface
* (just like for EEVEE-Next) would induce a huge performance hit. */
ClosureSubsurface diffuse_data;
/* Disable subsurface. */
diffuse_data.sss_radius.b = -1.0;
#else
ClosureDiffuse diffuse_data;
#endif