#version 330 core void main() { // This happens implicitly anyways // gl_FragDepth = gl_FragCoord.z; }