Tool for generating irradiance map coefficients (spherical harmonics) from an HDR environment map