pub fn linearize_depth(depth: f32, near: f32, far: f32) -> f32
Linearize depth from non-linear depth buffer