Skip to main content

Questions tagged [gamma]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
17 votes
2 answers
613 views

Is gamma still important to take into account?

Do different monitors (including mobile screens) still use significantly different gamma functions when displaying colour images? Is there a standardised way to represent colour that can then be ...
trichoplax is on Codidact now's user avatar
9 votes
4 answers
3k views

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 ...
Kristoffer Helander's user avatar
8 votes
1 answer
1k views

How are we supposed to fix brightness with square roots?

I recently watched this video that talked from a physics perspective how most of the ways we deal with color on the computer is incorrect because brightness is on a logarithmic not linear scale. ...
J.Doe's user avatar
  • 1,445
6 votes
0 answers
233 views

Noise shaping for dithering with gamma?

The context of this question is correct dithering of color with gamma correction. In dithering we add (shaped) noise $n$ to a signal $s \in [0, 1]$ based on a random variable $r \in [0, 1]$ $$s' = s +...
orlp's user avatar
  • 186
2 votes
4 answers
266 views

Question about function for color

I would like a help to understand the following line of code: return float3(pow(color.r, 2.2), pow(color.g, 2.2), pow(color.b, 2.2)); I've seen some places calling ...
Matheus Markies's user avatar