#version 330 core uniform float test; void main() { vec2 uv = gl_FragCoord.xy / ivec2(800, 600); gl_FragColor = vec4(uv.xy, test, 1.0); }