Function veloren_common::util::color::srgb_to_linear
source · pub fn srgb_to_linear(col: Rgb<f32>) -> Rgb<f32>
Expand description
directly converted from ‘vec3 srgb_to_linear(vec3 srgb)’ function in ‘srgb.glsl’
pub fn srgb_to_linear(col: Rgb<f32>) -> Rgb<f32>
directly converted from ‘vec3 srgb_to_linear(vec3 srgb)’ function in ‘srgb.glsl’