Skip to content

darknessLightFactor

uniform float darknessLightFactor;

The darkness status effect creates a pulsating dimming effect in the game lighting. This uniform stores the current strength of the dimming effect. The value is 0.0 is the minimum dimming, 1.0 when the effect is the maximum dimming, and is interpolated between those values during transitions.