Sign in to follow this  
shultays

more than 8 bits in color buffer?

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this