shadow_caster
Enables a light to cast shadows.
Dependencies
Attributes
Attribute | Type | Default | Description |
---|---|---|---|
bias | float | 0.001 | Bias to apply to avoid self shadowing artifacts. |
nearDist | float | 0.1 | Distance to the near plane. |
farDist | float | 100 | Distance to the far plane. |
quality | integer | 1024 | Resolution of the shadow map. |
cascadeSplitLambda | float | 0.94 | Skews the ratio of cascade splits, value ranges from 0 to 1. |
cascadeMaxZ | float | 100 | Distance to the end of the furthest cascade. |
accumulateShadowCascades | bool | true | For directional lights, accumulate all shadow cascades. |