logoalt Hacker News

LoganDarkyesterday at 8:18 PM1 replyview on HN

> Pixels with RGB values of (128, 128, 128) emit about half as much light as pixels with RGB values of (255, 255, 255).

Technically, this is not always incorrect, if your working color space is linear and 0 is no light. The problem only comes if you hand that same data to routines or surfaces expecting sRGB or another nonlinear color space (or one where 0 is not no light).


Replies

nomelyesterday at 8:22 PM

> or one where 0 is not no light

Oh, interesting. What's an example of this? Some sort of log space?

show 3 replies