Jump to content
  • Advertisement
Sign in to follow this  
LukeSkyRunner

Good precision for post proc depth

This topic is 5054 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

I'm writing a deferred shading engine that runs on a Geforce FX (wich does not support render target surface types like D3DFMT_R32F for good depth precision), so, I have to use a format like A8R8G8B8 (the ONLY format supported for RTs). The question is: how can I get a good depth precision with it? This way we have four elements (x/y/z/w), so, maybe it can be used to store a better precision depth, I just don't know how.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by LukeSkyRunner
Geforce FX (wich does not support render target surface types like D3DFMT_R32F for good depth precision)


Install a recent driver, and be positively surprised [smile]

The other approach is also possible - just use one component per a bit range.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!