1 2 3 4 5
#version 120 void main(void) { gl_FragColor = vec4((gl_FragCoord.x / 640), (gl_FragCoord.y / 480), 0, 1); }