summaryrefslogblamecommitdiff
path: root/data/graphics/shaders/simple_vertex.glsl
blob: 1ffca8f773c3cf3dd4b92058874227dfe29903ad (plain) (tree)
1
2
3
4
5
6
7
                 

                    

           
                                                                                         
 
#version 150 core
in vec2 simplePos;
uniform vec2 screen;
void main()
{
    gl_Position = vec4(simplePos.x / screen.x - 1, 1 - simplePos.y / screen.y, 0.0, 1.0);
}