diff options
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 ; |