Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DiffuseColor

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