double-hit-balls/assets/shaders/texture-shader.vertex

12 lines
219 B
Plaintext
Raw Permalink Normal View History

2013-01-19 21:23:44 +00:00
attribute vec3 vPosition;
attribute vec2 vTexCoord;
2017-12-19 10:54:34 +00:00
2013-01-19 21:23:44 +00:00
varying vec2 texCoord;
uniform mat4 ProjectionMatrix;
void main()
{
2017-12-22 18:35:11 +00:00
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
2013-01-19 21:23:44 +00:00
texCoord = vTexCoord;
}