Questions tagged [gamma]

24 questions
19
votes
3 answers

Should the alpha channel be gamma corrected

We know that in PNG,BMP,etc... the pixel value stored is not in the linear RGB space. But I found no document saying anything about the alpha channel. Is the alpha channel stored in image files in linear space or not?
Mary Chang
  • 651
  • 4
  • 14
9
votes
4 answers

Why shouldn't Bump, Normal and Displacement maps be gamma corrected?

So I'm trying to wrap my head around this from a fairly technical point of view. When you add a Bump or Normal or Displacement map in your shader they should not be gamma corrected. But diffuse textures should be. But why? When you save a file in…
4
votes
1 answer

Gamma correction and halftone

I'm writing a halftone algorithm, which takes standards RGB intensities in the range of $0-255$ and outputs black and white elements with a corresponding size ratio. Should I apply a gamma expansion on the input luminance to get the ratio? I.e. is…
Tim Kuipers
  • 151
  • 5
2
votes
1 answer

Gamma Correction vs Color Picker

I have some confusion regarding gamma correction and the output of my shaders. I'll start with the setup, then explain my current understanding of the matter, and finally the question. Setup I'm using OpenGL ES 3.2 on Android. I have a texture…
Beko
  • 123
  • 4
1
vote
1 answer

Problem on understanding gamma correction

I am struggling understanding gamma encoding/decoding. So the colors I see and the values I get from a color picker application(like MS Paint) are already in sRGB space(correct?). Assume the color picker gives color C1=(186,70,2). If I create an…
ali
  • 740
  • 4
  • 14
1
vote
1 answer

Gamma correction is done in an image or a monitor?

pretend the images and the monitor have same color profile Is every image from the internet commonly got gamma corrected? Or our monitor is automatically gamma corrected all the image showed up?
asuralhp
  • 33
  • 2
0
votes
2 answers

Does a bumpmap need to be linearized from sRGB when being read?

By a bumpmap, I mean the black and white height map, not the rgb normal map style one. If I were to convert a bumpmap to a normal map then I don't think I should linearize the values because if an artist creates two pixels, one looking twice as…
Zebrafish
  • 131
  • 4