Contents

lightSize

The radius of the spotlight’s emitting surface, in meters.

Declaration

var lightSize: Float { get set }

Discussion

Larger values widen the penumbra and lengthen the transition between fully-shadowed and fully-lit regions, approximating the way an area light of that radius would shade a scene. The default value is 0.1.

This property has no effect when quality is low, which always produces a hard-edged shadow.

See Also

Configuring shadow quality