Skip to main content
Skip to main content

setLightSoftShadowDistance

setLightSoftShadowDistance

Description

Sets soft shadow light distance for directional lights (it's fake, fixed distance from each pixel). Ignored by spot lights.

Definition

setLightSoftShadowDistance(entityId lightId, float softShadowDistance)

Arguments

entityIdlightIdid of the light source
floatsoftShadowDistanceDistance (in meters) of the fake area light source to the ground