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

8 lines
142 B
Plaintext
Executable File

attribute vec3 vPosition;
uniform mat4 ProjectionMatrix;
void main()
{
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
}