Tutorial: Shadow caster

Shadow caster


Enables a light to cast shadows.


  • point_light


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 int32_t 1024 Resolution of the shadow map.
accumulateShadowCascades bool true For directional lights, accumulate all shadow cascades.