Version: 2022.1
LanguageEnglish
  • C#

Camera.RenderRequestMode.Metallic

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

The render outputs the materials metal value.

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.