• Advertisement
Sign in to follow this  

Depthmap with fbo, problem

This topic is 3231 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello ! I have a problem with fbo: I get a depthmap but my depthmap is ... inverted ? Black is white, and white is black. It's not a real problem, but I would like understand why it's like that ... Here the code: http://pastebin.be/18000 And the render: http://img87.imageshack.us/my.php?image=rendu.png Somebody has an idea ?

Share this post


Link to post
Share on other sites
Advertisement
Far things have the maximum value and nearer things have lower values. In floating point format, it is 1.0 to 0.0

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement