0ad/binaries/data/mods/public/shaders/glsl/gui_text.vs

15 lines
200 B
Plaintext
Raw Normal View History

#version 110
uniform mat4 transform;
varying vec2 v_texcoord;
attribute vec3 a_vertex;
attribute vec2 a_uv0;
void main()
{
gl_Position = transform * vec4(a_vertex, 1.0);
v_texcoord = a_uv0;
}