文档

Unity Engine

Unity Engine

DiffuseColor

The render request outputs the materials diffuse color.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

Outputs a buffer that maps the diffuse RGB color at each pixel. Alpha is undefined. The value will match PBR Diffuse Color in specular workflow as close as possible independent of the material or shader. The buffer will be generated from the camera used in the request.