Global materials override for the Blender EEVEE render engine

Some times we need to make a render of the scene with the single material, for example, for clay or wireframe renders. Blender has the global materials override option for the Cycles render engine in the “View Layer Properties” – “Override” but not for the EEVEE render engine.

Quick materials override for the EEVEE rendering engine can be made with a small script, as shown in the following video:

Script and video by Vitaly Sokol.

How to enable gradient background in the viewport window

To enable gradient background in the “3D View” window you need:

  • open the “Preferences” window
  • press the “Themes” button
  • in the “3D View” – “Theme Space” -” Gradient Colors” section on the “Use Gradient” checkbox
  • and tune the gradient colors “Gradient HighOff” (top color) and “Gradient Low” (bottom color)
  • press the “Save Preferences” button to save changes

Base PBR-materials scheme

The basic scheme for making a PBR (physically based) node shader in Blender looks like as follows:

Note that all the “ImageTexture” nodes, except for the “Base Color” node, use the “NonColor” colorspace.