Skip to content

darknessFactor

uniform float darknessFactor;

This uniform stores the strength of the darkness effect. The value is 0.0 when the effect is not present, 1.0 when the effect is active, and is interpolated between those values during transitions.