11 return pow((c + 0.055f) / 1.055f, 2.4f);
28 return 1.055f * std::pow(c, 1.0f / 2.4f) - 0.055f;
static float LinearToSRGB(float c)
Converts a single linear channel to sRGB space.
static float SRGBToLinear(float c)
Converts a single sRGB channel to linear space.