double-hit-balls/assets/ms_vertex.txt

22 lines
458 B
Plaintext
Executable File

attribute vec3 vPosition;
attribute vec4 vColor;
attribute vec3 vLineParams;
attribute vec4 vStartPointEndPoint;
varying vec3 position;
varying vec4 color;
varying vec3 lineParams;
varying vec4 startPointEndPoint;
uniform mat4 ProjectionMatrix;
void main()
{
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
position = vPosition;
color = vColor;
lineParams = vLineParams;
startPointEndPoint = vStartPointEndPoint;
}