Пример #1
0
 public static float LinearToGamma22(float value) =>
 value > 0.003130804954 ?
 1.055f * NewtonPow.Pow24Receip(value) - (0.055f - 3 / (float)(1 << 24)) :
 12.92f * value;
Пример #2
0
 public static double LinearToGamma22(double value) =>
 value > 0.003130804954 ?
 1.055 * NewtonPow.Pow24Receip(value) - 0.055 :
 12.92 * value;