#version 330 core void main() { vec2 uv = gl_FragCoord.xy / (vec2(800.0, 600.0) * 2); gl_FragColor = vec4(uv.x, uv.y, 0.0, 1.0); }