SphericalHarmonics.FromLights

static SphericalHarmonics FromLights(SHLight[] 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!

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