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

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