Jump to content

  • Log In with Google      Sign In   
  • Create Account


Contrast issues with FP frame buffer


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 lpcstr   Members   -  Reputation: 118

Like
0Likes
Like

Posted 20 February 2012 - 02:40 AM

When I change my frame buffer format from R8G8B8A8_UNORM to R16G16B16A16_FLOAT, the colors I'm getting from my textures appear to be overexposed.

Should I be doing something different when using a FP frame buffer format?

Sponsor:

#2 MJP   Moderators   -  Reputation: 10049

Like
0Likes
Like

Posted 20 February 2012 - 03:00 AM

Were you using a UNORM_SRGB format previously? Automatic sRGB conversion isn't supported on FLOAT formats, so you would need to do it manually in a shader.

#3 lpcstr   Members   -  Reputation: 118

Like
0Likes
Like

Posted 20 February 2012 - 03:28 AM

No, I was just using DXGI_FORMAT_R8G8B8A8_UNORM.

#4 lpcstr   Members   -  Reputation: 118

Like
0Likes
Like

Posted 20 February 2012 - 06:38 PM

R8G8B8A8_UNORM gives me the results I expect while both R16G16B16A16_FLOAT and R8G8B8A8_UNORM_SRGB give me the overexposed look.

#5 lpcstr   Members   -  Reputation: 118

Like
0Likes
Like

Posted 21 February 2012 - 09:23 AM

Nobody has any ideas? Because this makes no sense at all to me. It would seem to indicate that it is, in fact, applying an automatic gamma correction when writing to the R16G16B16A16_FLOAT frame buffer, which makes no sense because that isn't a sRGB texture format.

#6 kauna   Crossbones+   -  Reputation: 2141

Like
0Likes
Like

Posted 24 February 2012 - 02:23 AM

Can you elaborate a bit your configuration? Are you using a floating point buffer for back buffer or is it just an intermediate color buffer? What is the back buffer format?

Are you loading your texture with correct sRGB flags?

Best regards!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS