[][src]Function tray_rust::mc::power_heuristic

pub fn power_heuristic(n_f: f32, pdf_f: f32, n_g: f32, pdf_g: f32) -> f32

Power heuristic for multiple importance sampling for two functions being sampled, f & g where beta is hard-coded to be two following PBR & Veach