double-hit-balls/assets/brickshader_vertex.txt
shakurov.airat 3f8caf2574 move to AS
2017-01-10 17:43:06 +05:00

12 lines
229 B
Plaintext
Executable File

attribute vec3 vPosition;
attribute vec2 vTexCoord;
varying vec2 texCoord;
uniform mat4 ProjectionMatrix;
void main()
{
//480x320
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
texCoord = vTexCoord;
}