shadowRadius
A number that specifies the amount of blurring around the edges of shadows cast by the light. Animatable.
Declaration
var shadowRadius: CGFloat { get set }Discussion
SceneKit produces soft-edged shadows by rendering the silhouettes of geometry into a 2D shadow map and then using several weighted samples from the shadow map to determine the strength of the shadow at each pixel in the rendered scene. This property controls the radius of shadow map sampling. Lower numbers result in shadows with sharply defined, pixelated edges; higher numbers result in blurry shadows.
You can animate changes to this property’s value. See Animating SceneKit Content.