<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ARView/RenderOptions-swift.struct/disableCameraGrain",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:10RealityKit6ARViewC13RenderOptionsV18disableCameraGrainAEvpZ"
  },
  "title" : "disableCameraGrain"
}
-->

# disableCameraGrain

Disable the image noise effect.

```
static let disableCameraGrain: ARView.RenderOptions
```

## Discussion

Images from a camera may contain a small amount of noise, called
*camera grain*, that increases as the available light decreases.
Virtual objects rendered without noise and placed into an otherwise
grainy image look out of place. You can use RealityKit to add noise
to the rendered output to match noise in the camera feed.

|Without camera grain                                                                                                                                                                                                                  |With camera grain                                                                                                                                                                                                                       |
|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|![A screenshot of a scene with a blue sphere on a white surface. The white surface has grain, but the blue sphere does not, which makes the sphere appear out of place.](ARView-RenderOptions-swift-struct-disableCameraGrain-without)|![A screenshot of a scene with a blue sphere on a white surface. The white surface and the sphere both have gain, which makes the sphere better blend into the surroundings.](ARView-RenderOptions-swift-struct-disableCameraGrain-with)|

Applying this effect involves a low, constant GPU cost. If
necessary, you can disable the effect by adding the
[`disableCameraGrain`](/documentation/RealityKit/ARView/RenderOptions-swift.struct/disableCameraGrain) option to
the view’s [`renderOptions`](/documentation/RealityKit/ARView/renderOptions-swift.property) set. Disabling
the effect is most useful for older devices, like those with an A9
processor or earlier.

When deciding whether to use any effect, be sure to consider your
app’s CPU and GPU utilization, as described in
[Improving the Performance of a RealityKit App](/documentation/RealityKit/improving-the-performance-of-a-realitykit-app).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)