Skip to main content

tonemap

Function tonemap 

Source
pub fn tonemap(rgb: [f32; 3], knee: f32, peak: f32) -> [f32; 3]
Expand description

Tone-maps on max(R,G,B) so hue is kept.