Files
Test/Library/PackageCache/com.unity.shadergraph@8b7e693cdbfe/Documentation~/Metal-Reflectance-Node.md
T
2026-11-01 23:39:55 +02:00

1.8 KiB

Metal Reflectance Node

Description

Returns a Metal Reflectance value for a physically based material. The material to use can be selected with the Material dropdown parameter on the Node.

When using the Specular workflow, supply this value to the Specular block in the Master Stack. When using the Metallic workflow, supply it to the Base Color block instead.

Ports

Name Direction Type Binding Description
Out Output Vector 3 None Output value

Controls

Name Type Options Description
Material Dropdown Iron, Silver, Aluminium, Gold, Copper, Chromium, Nickel, Titanium, Cobalt, Platform Selects the material value to output.

Generated Code Example

The following example code represents one possible outcome of this node.

Iron

float3 _MetalReflectance_Out = float3(0.560, 0.570, 0.580);

Silver

float3 _MetalReflectance_Out = float3(0.972, 0.960, 0.915);

Aluminium

float3 _MetalReflectance_Out = float3(0.913, 0.921, 0.925);

Gold

float3 _MetalReflectance_Out = float3(1.000, 0.766, 0.336);

Copper

float3 _MetalReflectance_Out = float3(0.955, 0.637, 0.538);

Chromium

float3 _MetalReflectance_Out = float3(0.550, 0.556, 0.554);

Nickel

float3 _MetalReflectance_Out = float3(0.660, 0.609, 0.526);

Titanium

float3 _MetalReflectance_Out = float3(0.542, 0.497, 0.449);

Cobalt

float3 _MetalReflectance_Out = float3(0.662, 0.655, 0.634);

Platinum

float3 _MetalReflectance_Out = float3(0.672, 0.637, 0.585);

Additional resources

[!includenodes-example-samples]