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

pub fn equirectangular_to_cubemap(
    map: &Texture,
    size: u32,
    color_format: ColorFormat,
    gl: &Renderer<'_, Screen>
) -> CubeMap

Convert a texture containing an equirectangular environment map into a cubemap