If one wishes to render normally, where the closest object to the camera is rendered, you set the OpenGL flags as follows:
glDepthFunc(GL_LESS);
glEnable(GL_DEPTH_TEST);
So i would assume that doing:
glDepthFunc(GL_GREATER);
glEnable(GL_DEPTH_TEST);
Would also allow me to render the fragments furthest away from the camera instead. However I see no output when setting the flags like this. (no other modification has been done to my application)
How can you render the fragments furthest away from the camera?