Skip to main content

Questions tagged [srgb]

1 vote
1 answer
1k views

I'm currently reading about the topic of gamma correction and am a bit confused about what should I, as a game developer, do about it. There seem to be a few options here: Don't do anything at all ...
val - disappointed in SE's user avatar
4 votes
2 answers
4k views

My understanding of gamma correction is as follows: We want to do colour math in linear space so we can lerp etc. between colour values and get the results we expect. But human eyes don't have a ...
Ryan1729's user avatar
  • 744
-1 votes
1 answer
302 views

With gamma=2.0 you can use that Carmack's inverse sqrt hack or a lookup table. Yet all standard graphic formats mandate the use of gamma=2.2, and SVGA framebuffer also requires it. Unfortunately, for ...
SmugLispWeenie's user avatar
2 votes
0 answers
892 views

In OpenGL, I am using GL_SRGB8_ALPHA8 for the OpenGL internal texture format for my textures and render targets. This eliminated some banding I was seeing in dark ...
Tim R.'s user avatar
  • 268
5 votes
4 answers
14k views

I'm currently using a simple implementation of linear to sRGB transform: ...
Alexsey Shestacov's user avatar
2 votes
1 answer
2k views

I'm trying to make my OpenGL Haskell program gamma correct by making appropriate use of sRGB framebuffers and textures, but I'm running into issues making the default framebuffer sRGB. Consider the ...
Aaron Rotenberg's user avatar