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

Lighting.Mode

static LightingMode Mode{ get set }

Description

How environment lighting is delivered! Ambient folds all light into the Ambient SH, while MainLight splits the dominant directional light out into MainLight, leaving Ambient the remainder.

NOTE: StereoKit builtin shaders do not yet account for directional light, you will need your own shaders for MainLight mode to work. Changing Mode will ALSO change your current Ambient SH, adding or subtracting the MainLight’s energy.




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