Sub topic 9
Materials that work in both engines
This chapter assumes you can build a material with the Principled BSDF in the Shader Editor, assign it to an object, and render a still with F12. It also assumes you know that EEVEE rasterizes and Cycles path-traces, as covered earlier in this tutorial. The goal here is to build materials that look right in both engines, and to recognize the nodes and settings that break that portability.
One node tree, two interpreters
A Blender material is a node tree that ends in a Material Output node. The tree describes what a surface is made of: its base color, roughness, metallic response, transparency and so on. It does not describe how light is calculated. Each engine reads the same tree and works out the lighting its own way.
- Cycles evaluates the shaders during path tracing. Each bounce asks the shader how light scatters at that point.
- EEVEE compiles the tree into a GPU shader and approximates indirect light, reflections and shadows with screen-space and probe-based techniques.
Because the node tree is shared, switching engines does not rebuild your materials. What changes is how faithfully each node is evaluated, and a few nodes exist for only one engine.
The portable core
A material stays portable when you build it from nodes that both engines implement. The reliable set is:
- Principled BSDF as the main surface shader.
- Image Texture, and procedural textures such as Noise, Voronoi, Wave and Gradient.
- Texture Coordinate and Mapping, using UV, Generated or Object coordinates.
- Color nodes such as Mix, Color Ramp, Hue/Saturation and Math.
- Bump and Normal Map for surface detail.
- Mix Shader and Add Shader for combining surface shaders.
- Emission for glowing surfaces.
- Volume Absorption, Volume Scatter and Principled Volume for volumes.
A Principled BSDF with image textures plugged into Base Color, Roughness, Metallic and Normal is the safest starting point. This follows the usual PBR (physically based rendering) workflow, and both engines treat those inputs as the same physical quantities. Color management settings (view transform, look) are also scene-wide and apply to both engines, so a texture's color space has the same effect in each.
Same inputs, different results
Portable does not mean identical. The Principled BSDF inputs mean the same thing in both engines, but the output can differ because the lighting around the material differs:
- Reflections in Cycles come from the whole scene, including objects behind the camera. In EEVEE they come from reflection probes and screen-space data, so off-screen objects may be missing.
- Glass and other refractive surfaces gather light from the real scene in Cycles. EEVEE approximates it, and the result depends on the material and render settings in your version.
- Subsurface scattering uses the same Subsurface inputs in both, but EEVEE's approximation is softer and less accurate at thin edges.
- Soft shadows and indirect bounce light come from different algorithms, so a material can look brighter or flatter in one engine under identical lights.
Treat the first render in the second engine as a comparison, not as a defect list. Only differences that change the intent of the shot need fixing.
Nodes that break portability
A few nodes are tied to one engine. Using them gives a material that looks right in one engine and wrong in the other.
| Node or feature | Cycles | EEVEE | Notes |
|---|---|---|---|
| Principled BSDF | Yes | Yes | Same inputs, approximated lighting in EEVEE |
| Image and procedural textures | Yes | Yes | Same results for the texture itself |
| Shader to RGB | No | Yes | Reads shading as a color, used for toon looks |
| Bevel | Yes | No | Rounds hard edges in shading; ignored in EEVEE |
| Toon BSDF, Hair BSDF, Principled Hair BSDF | Yes | No | Fall back to a plain or empty result in EEVEE |
| Script node (OSL) | Yes, CPU only | No | Requires Open Shading Language enabled in render settings |
| True displacement | Yes | Depends on version | Check the manual for your Blender version |
| Volumes | Yes | Yes | Look and cost differ, covered in a later chapter |
Two patterns cause most breakage:
- A Cycles-only node leaves EEVEE with a flat or missing result. A scene with Bevel nodes on every material looks sharp in Cycles and hard-edged in EEVEE.
- A Shader to RGB setup, which is the standard way to build cel shading in EEVEE, produces nothing useful in Cycles. Toon work built this way is committed to EEVEE.
Material settings that depend on the engine
The Material properties tab has a Settings panel, and some of its options are used by one engine only.
- Cycles uses the Surface, Volume and Displacement settings. The Displacement method decides whether the displacement output is a bump, true geometry displacement, or both.
- EEVEE has its own settings for how transparency is sorted and rendered, and for how refraction and subsurface scattering are handled. The names and locations of these options changed between Blender versions, so look in the Material and Render properties of the version you use.
- Backface culling, shadow mode and similar options exist for EEVEE's rasterizer. Cycles ignores them.
A settings value you set for one engine does no harm in the other. It is simply not read. The risk is the opposite one: you tune a material in EEVEE until it looks right, switch to Cycles, and the EEVEE-only settings you relied on stop working.
Auditing a scene with Python
Before switching engines on a large scene, list the nodes that only one engine supports. This script scans every material and the node groups inside them, then prints each hit.
import bpy
CYCLES_ONLY = {'BEVEL', 'BSDF_TOON', 'BSDF_HAIR', 'BSDF_HAIR_PRINCIPLED', 'SCRIPT'}
EEVEE_ONLY = {'SHADERTORGB'}
def scan_tree(tree, material_name, visited, findings):
if tree is None or tree.name in visited:
return
visited.add(tree.name)
for node in tree.nodes:
if node.type in CYCLES_ONLY:
findings.append((material_name, node.name, node.type, 'Cycles only'))
elif node.type in EEVEE_ONLY:
findings.append((material_name, node.name, node.type, 'EEVEE only'))
elif node.type == 'GROUP':
scan_tree(node.node_tree, material_name, visited, findings)
findings = []
for material in bpy.data.materials:
scan_tree(material.node_tree, material.name, set(), findings)
if findings:
for material_name, node_name, node_type, note in findings:
print(f"{material_name}: {node_name} ({node_type}) - {note}")
else:
print("No engine-specific nodes found.")Run it from the Scripting workspace. The visited set is created fresh for each material, so a shared node group is reported once per material that uses it, and groups that contain themselves cannot cause endless recursion.
A workflow for portable materials
- Build the material on the Principled BSDF and image or procedural textures. Avoid engine-specific nodes until you have a reason for them.
- Preview in the engine you will mostly work in, and check the other engine early. Do a test render in both on a representative object, not at the end of the project.
- Keep one reference object, such as a sphere on a plain floor under your key light. Comparing the same object in both engines isolates lighting differences from material problems.
- When a Cycles-only effect matters, such as rounded edges from a Bevel node, decide whether a bevel modifier on the mesh or a baked normal map gives the same effect in both engines.
- Document any engine-specific node in the material's node frame label or in a note, so the next person knows why it is there.
Common errors
- Edges look hard after switching to EEVEE. The material relied on a Bevel node. Add a real bevel to the mesh or bake a normal map.
- A toon material renders black or gray in Cycles. It used Shader to RGB, which has no Cycles equivalent.
- Glass looks fine in Cycles but flat or opaque in EEVEE. Check the refraction and transparency options for your version, in both the material and render settings.
- Skin looks waxy in EEVEE. Subsurface scattering is approximated there, so adjust the Subsurface Radius and Scale and compare against Cycles.
- Displaced surfaces look flat in EEVEE. Confirm whether your version supports displacement, and use a Subdivision Surface modifier with real geometry if it does not.
Exercise
A teammate sends you a scene that renders correctly in Cycles. Every material has a Bevel node plugged into the Normal input of its Principled BSDF. You switch to EEVEE and the edges look hard. Why does this happen, and what are two ways to keep rounded edges in both engines?
Show answer
The Bevel node is Cycles-only, so EEVEE ignores it and uses the original geometry normals. Two fixes: add a Bevel modifier to the meshes so the rounding exists in the geometry, or bake the Cycles result to a normal map and use an image texture with a Normal Map node, which both engines support.
Exercise
You are building a cel-shaded character with a Shader to RGB node and a Color Ramp. A client later asks for a Cycles render of the same scene. What problem should you expect, and when should you have raised it?
Show answer
Shader to RGB has no Cycles support, so the toon look will not render in Cycles. This should be raised before building the materials, because the choice of that node commits the project to EEVEE for the toon look.