기술 자료

Unity Engine

Unity Engine

DiffuseColor

The render request outputs the materials diffuse color.
읽는 시간 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.