A tileable Metal texture created by ARKit to match the visual characteristics of the current video stream.
- iOS 13.0+
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.
Enable Image Noise on a Custom Renderer
For apps that display an AR experience using a custom Metal renderer, ARKit provides you with an
camera 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
camera of the current frame.