Function rs_pbrt::core::integrator::estimate_direct
source · [−]pub fn estimate_direct(
it: &dyn Interaction,
u_scattering: Point2f,
light: &Light,
u_light: Point2f,
scene: &Scene,
sampler: &mut Sampler,
handle_media: bool,
specular: bool
) -> Spectrum
Expand description
Computes a direct lighting estimate for a single light source sample.