Blender

MatCap based on shader nodes

MatCap is a material with just one texture, but it allows to quickly and conveniently show how a mesh will look with a certain material and in a certain light. When we assign a MatCap by selecting it in the 3D viewport shading options (Shading – Lighting – MatCap), the MatCap is assigned to all objects in the scene at once. However, if we need to selectively assign a MatCap to some meshes, MatCap can be emulated using shader nodes.

Fast synchronization objects visibility in the viewport and for rendering

When working with a complex scene with many objects, the synchronization of meshes visibility could be lost between the scene in the viewport area and the render. With just a few lines of code, we can quickly synchronize objects visibility in the viewport and on the final render.