updated crate vertex to utilise transform
authormatthew <matthew@owens.tech>
Tue, 18 Sep 2018 17:51:49 +0000 (18:51 +0100)
committermatthew <matthew@owens.tech>
Tue, 18 Sep 2018 17:51:49 +0000 (18:51 +0100)
shaders/crate/crate.vert

index 75f6f25..c58ceb7 100644 (file)
@@ -9,7 +9,7 @@ uniform mat4 camera;
 void main()
 {
        //gl_Position = transform * vec4(aPos, 1.0);
-       //gl_Position = camera * transform * vec4(aPos, 1.0);
-       gl_Position = camera * vec4(aPos, 1.0);
+       gl_Position = camera * transform * vec4(aPos, 1.0);
+       //gl_Position = camera * vec4(aPos, 1.0);
        vTex = aTex;
 }