⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

SphericalHarmonics.DominantLightDirectionTo

Vec3 DominantLightDirectionTo{ get }

Description

The direction toward the strongest light source in this lighting data, following the same convention as SHLight.directionTo. The value is normalized, and sampling the light’s color is sh.Sample(sh.DominantLightDirectionTo).




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