Helper class dealing with the extraction of spherical polynomial dataArray from a cube map.
Cube Map Texture ToSpherical PolynomialSearch playground for ConvertCubeMapTextureToSphericalPolynomial
Converts a texture to the according Spherical Polynomial data. This extracts the first 3 orders only as they are the only one used in the lighting.
The texture to extract the information from.
The Spherical Polynomial data.