Jump to content
  • Advertisement
Sign in to follow this  
shultays

more than 8 bits in color buffer?

This topic is 3135 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 am working on a post process effect which requires rendering the coordinates of each pixel into color buffer. but I forgot about limitation of the back buffer, which uses 8 bit for storing each color :/ and even if I conver my coordinates between 0.0 and 1.0 in the end they are converted to 8bit and it looks very bad probably it is impossible but is there a way for creating a color buffer with 32bit floats (or 16 bit) for each color?

Share this post


Link to post
Share on other sites
Advertisement
Yes there is. While you can't create such a backbuffer (on commodity hardware), you can create a render target surface which has floating-point color components.

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!