pub fn srgb_to_linear(srgb_in: Vec3) -> Vec3
Expand description
sRGB to linear approximation. See http://chilliant.blogspot.com/2012/08/srgb-approximations-for-hlsl.html
pub fn srgb_to_linear(srgb_in: Vec3) -> Vec3
sRGB to linear approximation. See http://chilliant.blogspot.com/2012/08/srgb-approximations-for-hlsl.html