In rendering, normally we want to perform rendering in linear space, but most input textures are stored in gamma space. Therefore, we need to perform a gamma correction on the input color (c^(1/2.2)) to convert them in to linear space first. Then, before outputting the final computation, we need to covert the color back to gamma space.
In rendering, normally we want to perform rendering in linear space, but most input textures are stored in gamma space. Therefore, we need to perform a gamma correction on the input color (c^(1/2.2)) to convert them in to linear space first. Then, before outputting the final computation, we need to covert the color back to gamma space.