This version of Unity is unsupported.

Camera.RenderRequestMode.Occlusion

Switch to Manual

Description

The render request returns the material ambient occlusion buffer.

Outputs a buffer that maps the ambient occlusion value of the material to a grayscale RGB value at each pixel. Alpha is undefined. The buffer will be generated from the camera used in the request.