double-hit-balls/assets/SSAA_4X.vertex

11 lines
217 B
Plaintext
Raw Permalink Normal View History

2017-12-02 10:25:02 +00:00
attribute vec3 vPosition;
attribute vec2 vTexCoord;
varying vec2 texCoord;
uniform mat4 ProjectionMatrix;
void main()
{
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
texCoord = vTexCoord;
}