Spherical Harmonics Lighting
This post explores a practical method for using spherical harmonics in scene illumination. Instead of directly calculating light from spherical harmonics, we'll convert them into a 2D UV environment map for efficient sampling. This approach transforms spherical harmonics into 2D image that can be easily understood, analyzed and regularized. Don`t forget to run the code in google colab to try it all by yourself.