use projection matrix as well
This commit is contained in:
parent
2f57ba687c
commit
1371328c8b
@ -4,6 +4,6 @@ attribute vec3 color;
|
|||||||
|
|
||||||
void main(void)
|
void main(void)
|
||||||
{
|
{
|
||||||
gl_Position = gl_ModelViewMatrix * vec4(pos, 1);
|
gl_Position = gl_ModelViewProjectionMatrix * vec4(pos, 1);
|
||||||
gl_FrontColor = vec4(color, 1);
|
gl_FrontColor = vec4(color, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user