Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Metallic

The render outputs the materials metal value.
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
Metallic = 8

Remarks

Outputs a buffer that maps the materials metallic value to a grayscale RGB value at each pixel. Alpha is undefined. The value will match PBR BaseColor in metallic workflow as close as possible independent of the material or shader. The buffer will be generated from the camera used in the request.