SphericalHarmonics.Sample

Color Sample(Vec3 normal)

Look up the color information in a particular direction!

   
Vec3 normal The direction to look in. Should be normalized.
RETURNS: Color The Color represented by the SH in the given direction.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!