double-hit-balls/assets/color-shader.vertex
Vladislav Khorev Dev 93e171ec5b First result
2017-12-22 23:35:11 +05:00

8 lines
142 B
Plaintext
Executable File

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