What I am trying to do is perhaps similar to generating a Z-buffer representation. However, how do I do this?
I can use glReadPixels(...) to get the z-depth data, however, how do I render this...