From 4d62a6d631fb9703d818654c5b9722e747cfe190 Mon Sep 17 00:00:00 2001 From: Joshua Rahm Date: Tue, 22 Apr 2014 21:55:34 -0600 Subject: fixed most uniforms --- shaders/basic.vert | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shaders/basic.vert') diff --git a/shaders/basic.vert b/shaders/basic.vert index 36e0c48..a51115c 100644 --- a/shaders/basic.vert +++ b/shaders/basic.vert @@ -7,9 +7,9 @@ layout(location = 2) in vec4 in_color ; layout(location = 1) in vec3 in_normal ; layout(location = 3) in vec2 in_texcoord ; -layout(location = 4) uniform mat4 pjMatrix ; -layout(location = 5) uniform mat4 mvMatrix ; -layout(location = 7) uniform mat3 normalMatrix ; +uniform mat4 pjMatrix ; +uniform mat4 mvMatrix ; +uniform mat3 normalMatrix ; out vec2 texcoord ; out vec4 position ; -- cgit