pub fn g<'a>(
    scene: &'a Scene,
    sampler: &mut Sampler,
    v0: &Vertex<'_>,
    v1: &Vertex<'_>
) -> Spectrum