use projection matrix as well
This commit is contained in:
1 parent
2f57ba687c
commit
1371328c8b
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user