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

LightingMode.MainLight

static LightingMode MainLight

Description

The dominant directional light is separated out into MainLight, and Ambient carries only the remainder. This is for applications that render that light themselves, such as for shadow casting, since otherwise its energy is counted twice.




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