Apple Augmented Reality Notes

The only way to get the automatic grounding shadow in RealityKit is to use the “plane” AnchoringComponent.Target. If you use the “anchor”, you will not receive the automatic grounding shadow on your content, even if it is an ARPlaneAnchor.

You can add your own grounding shadow by using a DirectionalLight with a Shadow and placing a plane beneath your model with an OcclusionMaterial, but you may not be able to achieve the same exact look as the automatic grounding shadows with this approach.

-Greg Chiste
DTS Engineer
 Worldwide Developer Relations

  1. AR Anchor
  2. ARView
  3. Anchor Entity
  4. Session