From 1371328c8b81946aab13dc7405e1e0bd68835ba5 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 30 Apr 2011 09:49:08 -0400 Subject: [PATCH] use projection matrix as well --- template/v_shader.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/v_shader.glsl b/template/v_shader.glsl index c9db33a..c76673f 100644 --- a/template/v_shader.glsl +++ b/template/v_shader.glsl @@ -4,6 +4,6 @@ attribute vec3 color; void main(void) { - gl_Position = gl_ModelViewMatrix * vec4(pos, 1); + gl_Position = gl_ModelViewProjectionMatrix * vec4(pos, 1); gl_FrontColor = vec4(color, 1); }