<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARFrame/cameraGrainTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARFrame(py)cameraGrainTexture"
  },
  "title" : "cameraGrainTexture"
}
-->

# cameraGrainTexture

A tileable Metal texture created by ARKit to match the visual characteristics of the current video stream.

```
var cameraGrainTexture: (any MTLTexture)? { get }
```

## Discussion

Camera grain enhances the visual cohesion of the real and augmented aspects of your user experience by enabling your app’s virtual content to take on similar image noise characteristics that naturally occur in the camera feed.

![Screenshot showing the before and after cases of applying image noise to an app’s virtual content.](images/com.apple.arkit/media-3261294@2x.png)

If [`ARSCNView`](/documentation/ARKit/ARSCNView) is your renderer, SceneKit applies camera grain to your app’s virtual content by default. For more information, see [`rendersCameraGrain`](/documentation/ARKit/ARSCNView/rendersCameraGrain).

### Enable Image Noise on a Custom Renderer

For apps that display an AR experience using a custom Metal renderer, ARKit provides you with an [`cameraGrainTexture`](/documentation/ARKit/ARFrame/cameraGrainTexture) that matches the noise it detects in the current video stream. Set the noise texture onto your renderer to apply its characteristics to your virtual content.

The depth dimension of the image noise texture contains variations that you select at runtime based on the [`cameraGrainIntensity`](/documentation/ARKit/ARFrame/cameraGrainIntensity) of the current frame.

---

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)