void main() { // no color output, only depth (line below is implicit) // gl_FragDepth = gl_FragCoord.z; }