pub fn soft_threshold(lum: f32, threshold: f32, knee: f32) -> f32
Soft-threshold a luminance value with knee falloff. Pixels below threshold - knee contribute 0, above threshold + knee contribute fully.
threshold - knee
threshold + knee