Module rin::gl::image_based_light[][src]

This module contains image based light utilities

An image based light that can be used with PBR materials for more realistic lighting and utilities to create the necesary maps from an HDR environment map to setup such a light

Functions

copy_equirectangular_levels_to_cubemap

Convert a texture containing an equirectangular environment map with several mip levels into a cubemap

copy_equirectangular_to_cubemap

Convert a texture containing an equirectangular environment map into a cubemap

cubemap_level_to_equirectangular

Convert cubemap environment map level to equirectangular format

cubemap_to_equirectangular

Convert cubemap environment map to equirectangular format

equirectangular_levels_to_cubemap

Convert a texture containing an equirectangular environment map with several mip levels into a cubemap

equirectangular_to_cubemap

Convert a texture containing an equirectangular environment map into a cubemap

equirectangular_to_cubemap_allocate_levels

Convert a texture containing an equirectangular environment map into a cubemap

generate_brdf_lut

Generate the brdf LUT used by PBR materials to calculate the IBL

generate_cloth_ashikhmin_brdf_lut

Generate the brdf LUT used by cloth ashikhim PBR materials to calculate the IBL

generate_cloth_charlie_brdf_lut

Generate the brdf LUT used by cloth charlie PBR materials to calculate the IBL

generate_irradiance_cubemap

Generate an irradiance (diffuse) map from a cubemap environment map as a cubemap

generate_radiance_cubemap

Generate all the levels of a radiance (specualr) map from a cubemap environment map as a cubemap