pub fn sample_irradiance<T: SampleCube<Sampler = S>, S: IsSampler>( irradiance: &T, irradiance_sampler: &S, n: Vec3, ) -> Vec3