pub fn gamma_from_linear(linear: f32) -> f32
linear [0, 1] -> gamma [0, 1] (not clamped). Works for numbers outside this range (e.g. negative numbers).