aboutsummaryrefslogtreecommitdiff
path: root/data/shaders/effect-2d.vert
blob: d0aa488b3ed7b6790a4c93ed8421723149ae387c (plain)
1
2
3
4
5
6
7
8
9
10
attribute vec3 position;

varying vec2 TextureCoord;

void main(void)
{
    gl_Position = vec4(position, 1.0);

    TextureCoord = position.xy * 0.5 + 0.5;
}