double-hit-balls/assets/color-shader.vertex

8 lines
142 B
Plaintext
Raw Normal View History

2017-12-22 18:35:11 +00:00
attribute vec3 vPosition;
uniform mat4 ProjectionMatrix;
void main()
{
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
}