Jump to content
  • Advertisement
Sign in to follow this  
LukeSkyRunner

Good precision for post proc depth

This topic is 5479 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!