blob: e6c1bf359e12076748bf228e675484ee88e1157c (
plain) (
tree)
|
|
#version 150 core
in vec2 simplePos;
in vec2 texcoord;
out vec2 Texcoord;
uniform vec2 screen;
void main()
{
Texcoord = texcoord;
gl_Position = vec4(simplePos.x / screen.x - 1, 1 - simplePos.y / screen.y, 0.0, 1.0);
}
|