Sub topic 7
IOR and Specular Controls
Assume you know how to select an object, open the Shader Editor, and use a Principled BSDF node. This chapter focuses on how a surface reflects light at its edges and at straight-on angles.
What IOR controls
IOR means index of refraction. It describes how strongly light bends when it enters a material. It also controls the strength of Fresnel reflection: surfaces reflect more light when viewed at a shallow angle.
A higher IOR usually creates a stronger reflection. Common approximate values are:
| Material | Approximate IOR | Typical appearance |
|---|---|---|
| Air | 1.00 | Almost no visible reflection |
| Water | 1.33 | Weak reflection |
| Glass | 1.45–1.52 | Clear, noticeable reflection |
| Plastic | 1.45–1.60 | Moderate reflection |
| Diamond | 2.42 | Very strong reflection |
The IOR does not make a surface metallic. It mainly affects dielectric materials such as plastic, glass, paint, wood, and skin. Metals use a different reflection model, so set Metallic to 1.0 when creating a fully metallic material.
Specular IOR Level
In Blender 4.x, the Principled BSDF includes Specular IOR Level. In some older versions, the control is labeled Specular. This value scales the visible specular reflection produced by the IOR.
1.0uses the reflection strength calculated from the IOR.0.0removes most direct specular reflection.- Values between them provide artistic control.
Use IOR for the physical material and Specular IOR Level for controlled adjustment. For example, painted plastic might use an IOR near 1.5 and a Specular IOR Level of 0.5. Lowering the level can help match a reference, but it should not compensate for incorrect lighting or roughness.
import bpy
obj = bpy.context.active_object
if obj is None or obj.type != "MESH":
raise RuntimeError("Select a mesh object first")
mat = bpy.data.materials.new("PaintedPlastic")
mat.use_nodes = True
bsdf = mat.node_tree.nodes.get("Principled BSDF")
bsdf.inputs["Base Color"].default_value = (0.12, 0.18, 0.8, 1.0)
bsdf.inputs["Metallic"].default_value = 0.0
bsdf.inputs["Roughness"].default_value = 0.3
bsdf.inputs["IOR"].default_value = 1.5
specular = bsdf.inputs.get("Specular IOR Level")
if specular is not None:
specular.default_value = 0.5
obj.data.materials.append(mat)Common errors
A glass object can look like opaque plastic when Transmission is zero, even if its IOR is 1.45. A metallic object can look wrong when Metallic is zero, because dielectric reflection is being used. An extremely low Specular IOR Level can remove highlights and make a material appear flat.
Exercise
A plastic object looks too flat, but its Roughness and lighting are correct. Which control should you adjust first, and why?
Show answer
Check Specular IOR Level. Increase it toward 1.0 to restore the reflection predicted by the material's IOR, then adjust IOR only if the material itself needs a different physical response.