SphericalHarmonics.FromLights

static SphericalHarmonics FromLights(SHLight[] directional_lights)

Creates a SphericalHarmonics approximation of the irradiance given from a set of directional lights!

   
SHLight[] directional_lights A list of directional lights!
RETURNS: SphericalHarmonics A SphericalHarmonics approximation of the irradiance given from a set of directional lights!




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