[Bf-blender-cvs] [7194259fb1a] blender2.8: Eevee: SSS: Fix compilation error.

Clément Foucault noreply at git.blender.org
Sun Mar 11 23:44:33 CET 2018


Commit: 7194259fb1a8b9ef84c0896130b92ff577fc76b1
Author: Clément Foucault
Date:   Sun Mar 11 23:27:58 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB7194259fb1a8b9ef84c0896130b92ff577fc76b1

Eevee: SSS: Fix compilation error.

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

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

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

diff --git a/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl b/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl
index d9e12bcc4bd..5ecf6323255 100644
--- a/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl
+++ b/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl
@@ -23,8 +23,6 @@ layout(location = 0) out vec4 FragColor;
 layout(location = 1) out vec4 sssColor;
 #endif
 
-uniform mat4 ProjectionMatrix;
-
 float get_view_z_from_depth(float depth)
 {
 	if (ProjectionMatrix[3][3] == 0.0) {



More information about the Bf-blender-cvs mailing list