Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Occlusion

The render request returns the material ambient occlusion buffer.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Removed. The RenderRequest struct is obsolete, use the function overload with RequestData of supported types such as RenderPipeline.StandardRequest
Occlusion = 12

Remarks

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.