double-hit-balls/assets/ms_vertex.txt

13 lines
253 B
Plaintext
Raw Normal View History

2018-01-14 00:17:27 +00:00
attribute vec3 vPosition;
attribute vec4 vColor;
varying vec4 color;
varying vec3 position;
uniform mat4 ProjectionMatrix;
void main()
{
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
color = vColor;
position = vPosition;
}