Function rin::gl::image_based_light::generate_irradiance_cubemap [−][src]
pub fn generate_irradiance_cubemap(
envmap: &CubeMap,
size: u32,
color_format: ColorFormat,
gl: &Renderer<'_, Screen>
) -> CubeMap
Generate an irradiance (diffuse) map from a cubemap environment map as a cubemap