OptionalcascadeNumber of cascades for CSM (typically 3 or 4). Defaults to 4.
OptionalcascadeFactor weighting linear vs logarithmic cascade splits (value between 0 and 1). Defaults to 0.85.
OptionalcastEnable shadow depth map generation.
OptionalcolorColor of emitted light. Can be a Color instance, hex string, or RGB array. Defaults to #ffffff.
OptionalcsmMaximum distance along camera depth for shadow mapping projection. Defaults to 100.0.
OptionalinnerSpotlight inner cone angle in degrees.
OptionalintensityScalar multiplier for light emission intensity. Defaults to 1.0.
OptionalouterSpotlight outer cone angle in degrees.
OptionalpositionOptional initial position of the light node in 3D space.
OptionalradiusRadial size limit for point light attenuation.
OptionalrangeSpotlight physical distance range limit.
OptionalrotationOptional initial rotation Euler angles in radians.
OptionalrotationOptional initial rotation Euler angles in degrees.
OptionalshadowShadow depth bias.
OptionalshadowTotal depth range along the Z axis of the shadow projection frustum. Defaults to 200.0.
OptionalshadowShadow depth map resolution.
OptionalshadowNear clipping plane for perspective shadow projection.
OptionalshadowWorld-space boundary half-extent defining the orthographic shadow view box. Defaults to 20.0.
OptionaltypeLight emitting style choice. Defaults to "directional".
OptionaluseIf true, the directional light will use Cascaded Shadow Maps (CSM) to divide the frustum. Defaults to false.
OptionaluseEnable PCF filtering.
Scene specific options for adding light sources.