$ ./guess_the_languageGame Dev
Game Dev · hard · #221

Why should lighting maths run in linear colour space?

  1. sRGB values aren't proportional to light
  2. Linear textures use less GPU memory
  3. Monitors expect linear input signals
  4. It removes any need for a tone-mapping pass
Gamma-encoded sRGB spends more values on darks; adding or scaling light in that space gives wrong falloff and blending.
Play Game Dev ▸