Skip to main content

convolve_sh_lambert

Function convolve_sh_lambert 

Source
pub fn convolve_sh_lambert(sh: &Sh3) -> Sh3
Expand description

Convolve SH3 with the clamped-cosine (Lambertian) kernel.

This is the ZH product used for irradiance environment maps.