double-hit-balls/assets/texture-shader.vertex
Vladislav Khorev Dev 93e171ec5b First result
2017-12-22 23:35:11 +05:00

12 lines
219 B
Plaintext
Executable File

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