Hi,
I am drawing the depth buffer from a a fbo where I draw some cubes, and I get a white image with some light gray areas where the cubes where very close. After some research I found that I have to make the depth buffer linear according to the near and far field of my camera. Any ideas how to do it?
Thanks