Using OpenGL/GLSL built-in depth comparison