From 61cbf16ebcb0867bf881d81a7d22aceecb7d5dc4 Mon Sep 17 00:00:00 2001 From: pspeed42 Date: Thu, 10 Jul 2014 03:57:00 -0400 Subject: [PATCH] Fixed the duplicate definition errors in normal.vert ...I left them commented out for reference and because maybe this needs some rethinking. --- .../src/main/resources/Common/MatDefs/SSAO/normal.vert | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert b/jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert index 0d812a8cb..82a08f392 100644 --- a/jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert +++ b/jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert @@ -1,7 +1,8 @@ #import "Common/ShaderLib/Instancing.glsllib" #import "Common/ShaderLib/Skinning.glsllib" -uniform mat4 g_WorldViewProjectionMatrix; -uniform mat3 g_NormalMatrix; +// These are included in the above now +//uniform mat4 g_WorldViewProjectionMatrix; +//uniform mat3 g_NormalMatrix; attribute vec3 inPosition; attribute vec3 inNormal;