Function rin::gl::image_based_light::copy_equirectangular_to_cubemap[][src]

pub fn copy_equirectangular_to_cubemap(
    map: &Texture,
    cubemap: &mut CubeMap,
    gl: &Renderer<'_, Screen>
)

Convert a texture containing an equirectangular environment map into a cubemap