double-hit-balls/assets/color_vertex.txt
Vladislav Khorev Dev ed4a0178da SSAA 4X demo
2017-12-02 15:25:02 +05:00

11 lines
205 B
Plaintext
Executable File

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