diff options
author | Joshua Rahm <joshua.rahm@colorado.edu> | 2014-04-22 21:55:34 -0600 |
---|---|---|
committer | Joshua Rahm <joshua.rahm@colorado.edu> | 2014-04-22 21:55:34 -0600 |
commit | 4d62a6d631fb9703d818654c5b9722e747cfe190 (patch) | |
tree | 97104038db6cd8e3a13eb0e529975fd2edddc4ce /shaders/basic.vert | |
parent | 14b6f5cee8236f7c42065813c5dd6a659d4d5d65 (diff) | |
download | terralloc-4d62a6d631fb9703d818654c5b9722e747cfe190.tar.gz terralloc-4d62a6d631fb9703d818654c5b9722e747cfe190.tar.bz2 terralloc-4d62a6d631fb9703d818654c5b9722e747cfe190.zip |
fixed most uniforms
Diffstat (limited to 'shaders/basic.vert')
-rw-r--r-- | shaders/basic.vert | 6 |
1 files changed, 3 insertions, 3 deletions
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 ; |