Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: sRGB internal format

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jun 2012
    Posts
    101

    sRGB internal format

    I am using sRGB with glTexImage2DMultisample and found that when even if i i don't glEnable(GL_FRAMEBUFFER_SRGB);, i get proper output and when i enable it i get little bit faint output with same colors.
    I read that while using sRGB internal format we need to enable it then only OpenGL converts into sRGB color space. So if above behavior is correct please tell me how driver behaves when we don't enable it.

  2. #2

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jun 2012
    Posts
    101
    Quote Originally Posted by Alfonse Reinheart View Post
    What is "proper output"?
    same output when i use GL_RGBA format.

  4. #4
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,537
    The entire point of using sRGB images in the framebuffer is to not have the "same output when i use GL_RGBA format." The point is to do automatic, free gamma correction.

    You shouldn't expect to get the same images, because your previous rendering was wrong. And every decision you made based on your previous rendering was likewise wrong. So the problem isn't the feature; it's your expectations.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •