summaryrefslogtreecommitdiff
path: root/data/graphics/shaders/simple_vertex.glsl
blob: 766fd5fe5779426b462a722575c5db81b13649fb (plain) (blame)
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);
}