Sub topic 6
Metallic and Roughness: plastic, metal and in between
This chapter covers the two inputs that most change how a Principled BSDF surface looks: Metallic and Roughness. It assumes you can open the Shader Editor, you know the Principled BSDF connects to the Material Output, and you have set Base Color (earlier chapters). Familiarity with Blender 4.x socket names is helpful.
The working model
Metallic and Roughness control different things.
- Metallic decides what kind of material the surface is. It blends between a dielectric (a non-metal such as plastic, wood or ceramic) and a conductor (a metal).
- Roughness decides how sharp or blurry the reflections are, for either kind of material.
Both inputs range from 0 to 1. Both are physically motivated, so most realistic materials come from small changes to these two values and Base Color.
What Metallic does
For a dielectric (Metallic 0), the reflection is a weak, white-ish highlight that is stronger at grazing angles. The surface's diffuse color comes from Base Color. Light also scatters under the surface, which gives the body color.
For a metal (Metallic 1), there is no diffuse body color. Base Color now tints the reflection itself. Gold reflects yellow light, copper reflects orange light, and iron reflects a nearly neutral gray.
| Property | Metallic 0 (dielectric) | Metallic 1 (metal) |
|---|---|---|
| Base Color controls | Diffuse body color | Reflection color |
| Reflection strength | Weak at head-on angles, stronger at grazing angles | Strong at all angles |
| Reflection tint | White, or close to it | Same as Base Color |
| Examples | Plastic, paint, wood, skin, stone | Steel, gold, copper, aluminium |
What Roughness does
Roughness models microscopic bumps in the surface. At 0, the surface is a perfect mirror and reflections are crisp. As the value rises, the microfacets scatter light in more directions, so reflections blur and the highlight spreads out and dims. At 1, the surface looks fully matte.
Roughness does not make an object look dirtier or darker by itself. It redistributes the same reflected light over a wider area.
Metallic is mostly a switch
Real materials are almost always either metal or not metal. Fractional values such as 0.5 do not describe a "half metal". They are a blend of two shading models. Use in-between values in only three situations:
- Transitions in a texture. A painted metal panel with chipped paint is Metallic 0 where paint remains and Metallic 1 where bare metal shows. A texture map handles this, and anti-aliased edge pixels get in-between values.
- Thin oxide or dirt layers that are too small to model as separate geometry.
- Stylized work where realism is not the goal.
A common mistake is setting Metallic to 0.5 to get a "slightly metallic" plastic. The result usually looks muddy: it has the dark diffuse of a metal blended with a white highlight of a dielectric. If you want a shinier plastic, lower Roughness or add a Coat (a later chapter).
Base Color values for metals
Because Base Color is the reflection tint for a metal, it needs realistic, fairly bright values. Physically measured metals have reflectance of roughly 0.5 to 1.0 across channels. Very dark Base Color with Metallic 1 produces a nearly black metal, because a metal with no diffuse layer has nothing else to show.
| Metal | Approximate Base Color (linear RGB) |
|---|---|
| Iron | 0.56, 0.57, 0.58 |
| Aluminium | 0.91, 0.92, 0.92 |
| Copper | 0.95, 0.64, 0.54 |
| Gold | 1.00, 0.77, 0.34 |
These are approximate values from commonly published reflectance tables. Treat them as starting points and judge by eye.
Building materials with the two inputs
The table shows typical starting points. All of these assume a white or neutral light environment.
| Material | Base Color | Metallic | Roughness |
|---|---|---|---|
| Glossy plastic | Any saturated color | 0 | 0.2 to 0.4 |
| Matte plastic or rubber | Dark or saturated color | 0 | 0.6 to 0.9 |
| Car paint (base layer) | Saturated color | 0 | 0.2 to 0.3 |
| Polished chrome | Light gray | 1 | 0.0 to 0.1 |
| Brushed steel | Mid gray | 1 | 0.3 to 0.5 |
| Cast iron | Dark gray | 1 | 0.5 to 0.7 |
Here is a short script that builds three spheres in a row to compare these presets. It uses only the standard bpy API, so run it in Blender's Scripting workspace.
import bpy
presets = [
("GlossyPlastic", (0.8, 0.05, 0.05, 1.0), 0.0, 0.3),
("Chrome", (0.9, 0.9, 0.9, 1.0), 1.0, 0.05),
("BrushedSteel", (0.56, 0.57, 0.58, 1.0), 1.0, 0.4),
]
for i, (name, color, metallic, rough) in enumerate(presets):
bpy.ops.mesh.primitive_uv_sphere_add(location=(i * 2.5, 0, 0))
obj = bpy.context.active_object
obj.name = name
mat = bpy.data.materials.new(name=name)
mat.use_nodes = True
bsdf = mat.node_tree.nodes.get("Principled BSDF")
bsdf.inputs["Base Color"].default_value = color
bsdf.inputs["Metallic"].default_value = metallic
bsdf.inputs["Roughness"].default_value = rough
obj.data.materials.append(mat)Why a metal can look black
The most common surprise with Metallic 1 is a black or very dark sphere in an empty scene. A metal only shows what it reflects. In the default scene the world background is a dark gray, so a smooth metal reflects almost nothing interesting.
A mirror-like surface (low Roughness) makes this worse because it shows a sharp reflection of whatever is there. Fixes:
- Add an HDRI (a high dynamic range image of a real environment) in the World properties, or use a built-in HDRI in the viewport's Lookdev mode.
- Add light-colored objects or emissive panels near the object so there is something to reflect.
- Raise Roughness a little, which blurs the reflection and averages the environment's brightness.
How roughness behaves in the render
The relationship between the Roughness value and the visible blur is not linear to the eye. Blender squares the value internally for the microfacet distribution, so small changes near 0 are more visible than the same changes near 1. When you test values, step through 0.05, 0.1, 0.2, 0.4, 0.8 rather than 0.2, 0.4, 0.6, 0.8.
Roughness also affects the apparent brightness of a dielectric highlight. A sharp highlight is small and bright. A rough highlight is large and dim. The total reflected energy is similar, which is why a rough surface does not look more reflective.
Driving the inputs with textures
In a PBR workflow, Metallic and Roughness often come from image textures. Two points matter at this level:
- Both are data maps, not colors. Set the image's color space to Non-Color so Blender does not apply an sRGB conversion. A roughness map left in sRGB looks wrong, with highlights that are too sharp or too soft.
- Metallic maps are normally close to black and white. Gray values should appear only at edges.
Some texture sets pack Roughness, Metallic and ambient occlusion into the separate channels of one image. In that case, add a Separate Color node after the Image Texture and connect the Red, Green and Blue outputs to the right inputs. Check the texture's documentation for the channel order, because it varies between sources.
Visualizing the continuum
The diagram shows how the two inputs combine into common categories.
Common errors
- Metallic 1 with a dark Base Color. The metal looks black. Raise Base Color toward the values in the table above.
- Metallic 0.5 for "semi-shiny". Use Roughness or Coat instead.
- Roughness 0 on everything. A perfect mirror needs a detailed environment to look right. It also produces harsh, unrealistic highlights on non-metals.
- sRGB color space on data maps. Set Metallic and Roughness images to Non-Color.
- Colored Base Color on a metal that should be neutral. Saturated colors with Metallic 1 look like painted or anodized metal. This is correct for gold or copper, but wrong for steel.
- Judging in Solid mode. The Solid viewport does not show true reflections. Use Material Preview or Rendered mode.
Exercises
Exercise
A sphere has Base Color (0.05, 0.05, 0.05), Metallic 1 and Roughness 0.2. It looks almost black in a well-lit scene. Why, and what are two ways to fix it?
Show answer
A metal has no diffuse layer, so Base Color sets the reflection tint, and a dark value reflects very little light. Either raise Base Color to a bright value such as (0.56, 0.57, 0.58) for iron-like steel, or set Metallic to 0 if the object is really a dark plastic or paint.
Exercise
You want a red car-paint look with a glossy finish. Which Metallic value and Roughness range do you choose, and why not use Metallic 0.5?
Show answer
Use Metallic 0 and a low Roughness of about 0.2 to 0.3, with a saturated red Base Color. Paint is a dielectric. Metallic 0.5 blends a metal shading model with a plastic one, which gives a muddy, physically incorrect result. For extra gloss, add a Coat layer instead.
Exercise
You load a roughness texture and the highlights look too sharp, even though the image is mid-gray. What setting on the Image Texture node is most likely wrong?
Show answer
The image's color space is probably sRGB. Roughness is data, so set it to Non-Color so Blender uses the stored values without a color conversion.