Contents

depthBias

A constant value that RealityKit applies as a bias to its shadow calculations.

Declaration

var depthBias: Float { get set }

Discussion

Reduce visual effects such as shadow acne, by adjusting this property. The default value is 1.0.

See Also

Configuring the shadow