double-hit-balls/assets/shader1vertex.txt

12 lines
229 B
Plaintext
Raw Permalink Normal View History

2013-01-19 21:23:44 +00:00
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;
}