antler::illumination::light
#[must_use]pub fn light<T>(shader: &Shader, cam: &Camera, ray: &Ray, hit: &Hit<T>) -> f64
Calculate the lighting factor.