Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-03-12 01:27:58 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-03-12 01:44:10 +0300
commit7194259fb1a8b9ef84c0896130b92ff577fc76b1 (patch)
tree1c5be35ec402aa3121f4efd0dd043d9ac2e11a52 /source/blender/draw
parent7ecc7c46af493f984e9cb2f08ac75da5b30ffd35 (diff)
Eevee: SSS: Fix compilation error.
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl2
1 files changed, 0 insertions, 2 deletions
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) {