Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Linearize Depth Buffer

$
0
0

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


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>