Original Post
Hi guys!
I have a new interesting question for us today:
Given the direction to a point light source (e.g. [0 0 1]), how do we find the spherical harmonics representation of it?
Let's assume the degree of approximation is 2, i.e. there are 9 coefficients for each color channel.
Here's a link to an excellent tutorial on this topic: http://www.cs.columbia.edu/~cs4162/slides/spherical-harmonic-lighting.pdf
Unfortunately though, it does not answer my question.
Thanks and looking forward to your suggestions!
I have a new interesting question for us today:
Given the direction to a point light source (e.g. [0 0 1]), how do we find the spherical harmonics representation of it?
Let's assume the degree of approximation is 2, i.e. there are 9 coefficients for each color channel.
Here's a link to an excellent tutorial on this topic: http://www.cs.columbia.edu/~cs4162/slides/spherical-harmonic-lighting.pdf
Unfortunately though, it does not answer my question.
Thanks and looking forward to your suggestions!