aboutsummaryrefslogtreecommitdiff
path: root/ui/shader/texture-blit-flip.vert
blob: f7a448d229ea27e12dae60595fd8b333b24f13a6 (plain)
1
2
3
4
5
6
7
8
9
#version 300 es

in vec2  in_position;
out vec2 ex_tex_coord;

void main(void) {
    gl_Position = vec4(in_position, 0.0, 1.0);
    ex_tex_coord = vec2(1.0 + in_position.x, 1.0 + in_position.y) * 0.5;
}