Utility class for creating instances of LightProbe.
Creates a light probe from the given (radiance) environment map. The method expects that the environment map is represented as a cube texture.
Creates a light probe from the given (radiance) environment map. The method expects that the environment map is represented as a cube render target.
The format of the cube render target must be set to RGBA
.
For more info on how to obtain the source code of this module see this page.