Function three::color::to_linear_rgb

source ·
pub fn to_linear_rgb(c: Color) -> [f32; 3]
Expand description

sRGB to linear conversion.

Implementation taken from https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_sRGB_decode.txt