Manual depth management of a scene in OpenGL