Commit: 896154d15de716ef360d0187cb89f44102ac31ef
Author: Clément Foucault
Date:   Wed Aug 9 23:51:26 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB896154d15de716ef360d0187cb89f44102ac31ef

Eevee: Fix multiply blend mode.

===================================================================

M       source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl

===================================================================

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 36a0f0b35b6..520318d3134 100644
--- a/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl
+++ b/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl
@@ -567,7 +567,7 @@ Closure closure_add(Closure cl1, Closure cl2)
        return cl;
 }
 
-#if defined(MESH_SHADER) && !defined(USE_ALPHA_HASH) && 
!defined(USE_ALPHA_CLIP) && !defined(SHADOW_SHADER)
+#if defined(MESH_SHADER) && !defined(USE_ALPHA_HASH) && 
!defined(USE_ALPHA_CLIP) && !defined(SHADOW_SHADER) && !defined(USE_MULTIPLY)
 layout(location = 0) out vec4 fragColor;
 layout(location = 1) out vec4 ssrNormals;
 layout(location = 2) out vec4 ssrData;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to