jes-ruby/runtime/shaders/text.v.glsl

10 lines
149 B
GLSL

attribute vec4 coords;
varying vec2 texture_coord_v;
void main(void)
{
gl_Position = vec4(coords.xy, 0, 1);
texture_coord_v = coords.zw;
}