Function ecolor::gamma_from_linear
source ยท pub fn gamma_from_linear(linear: f32) -> f32
Expand description
linear [0, 1] -> gamma [0, 1] (not clamped). Works for numbers outside this range (e.g. negative numbers).
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).