---
title: disableGroundingShadows
framework: realitykit
role: symbol
role_heading: Type Property
path: realitykit/arview/renderoptions-swift.struct/disablegroundingshadows
---

# disableGroundingShadows

Disable rendering of ambient occlusion and shadows that ground objects in an AR scene.

## Declaration

```swift
static let disableGroundingShadows: ARView.RenderOptions
```

## Discussion

Discussion Objects in the real world cast a grounding shadow onto adjacent surfaces due to ambient light. This provides viewers with a visual cue that the object is in close proximity to the surface. Objects without a grounding shadow appear disconnected from their environment. To create the same visual cue for virtual objects, RealityKit provides a grounding shadow effect.

Applying this effect involves a low, constant GPU cost. You can disable the effect by adding the disableGroundingShadows option to the view’s renderOptions set, if needed. Disabling the effect is most useful for older devices, like those with an A9 processor or earlier.

## See Also

### Disabling rendering effects

- [disableCameraGrain](realitykit/arview/renderoptions-swift.struct/disablecameragrain.md)
- [disableHDR](realitykit/arview/renderoptions-swift.struct/disablehdr.md)
- [disableMotionBlur](realitykit/arview/renderoptions-swift.struct/disablemotionblur.md)
- [disableDepthOfField](realitykit/arview/renderoptions-swift.struct/disabledepthoffield.md)
- [disableFaceMesh](realitykit/arview/renderoptions-swift.struct/disablefacemesh.md)
- [disablePersonOcclusion](realitykit/arview/renderoptions-swift.struct/disablepersonocclusion.md)
- [disableAREnvironmentLighting](realitykit/arview/renderoptions-swift.struct/disablearenvironmentlighting.md)
- [disableFaceOcclusions](realitykit/arview/renderoptions-swift.struct/disablefaceocclusions.md)
- [disableAutomaticLighting](realitykit/arview/renderoptions-swift.struct/disableautomaticlighting.md)
