0ad/binaries/data/mods/public/shaders/glsl/gui_text.vs
Ykkrosh 832a51da80 GLSL text support
This was SVN commit r11080.
2012-02-15 21:53:13 +00:00

15 lines
200 B
GLSL

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