asteroid-game/assets/gui_transparent.vertex
2013-05-27 20:14:29 +00:00

11 lines
227 B
Plaintext

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;
}