Component reference
FX components
Shadow component
3 min
description the shadow component controls whether an entity casts and receives shadows in the scene it's essential for adding realism to your scene by simulating how objects block light and create shadows on themselves and other surfaces properties property description cast shadow when enabled, the entity casts shadows onto other surfaces receive shadow when enabled, the entity receives shadows from other objects, including itself usage notes directional light interaction shadows are cast based on the scene's directional light component docid 4aroomwt6qoizhz4u cb ensure you have a directional light set up for shadows to appear independent behavior both cast shadow and receive shadow can be enabled independently to achieve the desired visual effect performance reminder enabling shadows on many objects can impact rendering performance, especially on lower end devices