文档

Unity Engine

Unity Engine

Occlusion

The render request returns the material ambient occlusion buffer.
阅读时间1 分钟最后更新于 1 天前

Definition

警告
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.