Lesson 8 / 1173%

Lesson 8

Materials and Colors

20 min

Create materials with the Principled BSDF shader and preview them.

Definition

A material is a set of settings that describe the appearance of a 3D object's surface: its color, shininess, transparency, ability to emit light, and more. Without a custom material, an object generally has a gray appearance in Blender. Materials are what make objects look like wood, metal, plastic, or glass.

Adding Color to an Object

A material describes an object's appearance: its color, shininess, transparency, and more. Select an object, open the Material tab in the Properties panel (the sphere-shaped icon), then click New.

As soon as you click this button, Blender creates a material and gives it a name, such as "Material". You can rename it by double-clicking its name. The same material can then be reused on several objects, saving you from having to configure the same settings repeatedly: simply select it from the list of existing materials.

To get started, add a cube to your scene and create a new material. In the material settings, find the Base Color option. Click the displayed color and choose blue, for example. Your cube now has a color defined by its material.

If the cube remains gray in the 3D Viewport, this is not necessarily an error. Blender uses different display modes, and Solid Mode does not always show the material's actual color. Later, we will see how to enable Material Preview to properly observe the result.

Screenshot of the Properties panel, Material tab, showing the New button and the material name.

Understanding the Role of Materials

In a 3D scene, an object's shape and appearance are two different things. Geometry defines its volume, dimensions, and outlines. The material determines how its surface reacts to light and how it appears on the screen.

Imagine three perfectly identical spheres. The first has a matte red material, the second has a shiny metallic material, and the third has a transparent material. Even though their shapes are exactly the same, they appear to be made from completely different substances.

Materials are therefore essential for making a scene believable. They help distinguish surfaces, add visual contrast, and improve the realism of objects. A simple cube can look like a cardboard box, a block of metal, or a piece of plastic depending on the chosen settings.

What Is a Shader?

A shader is a program that calculates how a surface reacts to light. A material is built around one or more shaders. Depending on the shader used, a surface can behave like a mirror, frosted glass, or a light source. Fortunately, Blender provides a versatile shader that is enough to create most common materials.

To understand how it works, imagine a lamp illuminating a ball. Some of the light is reflected by the surface, while another portion may be absorbed or transmitted depending on the material. The shader helps Blender calculate these interactions to produce the object's final appearance.

Some shaders are designed for specific purposes. An emission shader can produce a glowing surface. A transparent shader allows light to pass through. Other shaders can simulate rough surfaces or more complex effects. As a beginner, you do not need to know all of them.

The Principled BSDF Shader

By default, a material generally uses a shader calledPrincipled BSDF. It combines the most common settings in a single panel:

  • Base Color: defines the main color of the surface.
  • Metallic: 0 for a non-metallic material, 1 for a metal.
  • Roughness: 0 for a very smooth surface, 1 for a very rough surface.
  • Emission: allows the surface to emit light.

This shader is particularly useful for beginners because it allows you to create several types of materials without building a complex network of nodes. By changing just a few parameters, you can turn matte plastic into shiny metal or create a glowing surface.

Principled BSDF uses an approach based on simplified physical properties. This means materials react to light in a consistent way. You do not need to understand the calculations to achieve good results: you only need to know the main parameters.

Three spheres with different materials: matte red, shiny metal, and a glowing emissive sphere.

Choosing a Color

When you click the Base Color field, a color picker opens. You can choose a hue using the color wheel, adjust brightness with the slider, or enter a hexadecimal code if you already know the exact color you want, such as one from a brand's color palette. The picker also includes an eyedropper tool for sampling a color from the screen.

The color picker allows you to adjust several color properties.Hue refers to the color family, such as red, green, or blue.Saturation determines its intensity.Value controls its brightness.

For example, a highly saturated red produces a vivid color, while a less saturated red appears closer to gray. A high value produces a brighter color, while a low value darkens the surface. These three parameters allow you to create a wide variety of shades.

If you want a precise color, you can use a hexadecimal code. This system is also used in web development. For example, the code#FF0000represents pure red, while#0000FFrepresents pure blue.

Understanding Metallic and Roughness

These two settings are among the most important for making a material look realistic. They work together to create all kinds of surfaces. Here are a few reference values to help you get started:

Suggested Settings
Glossy plastic    Metallic 0   Roughness 0.2
Matte plastic     Metallic 0   Roughness 0.8
Polished metal    Metallic 1   Roughness 0.1
Brushed metal     Metallic 1   Roughness 0.5
Rubber            Metallic 0   Roughness 1

These values are starting points, not strict rules. Feel free to experiment and adjust them visually. In reality, very few surfaces are perfectly smooth or completely matte. Avoid extreme Roughness values such as 0 and 1 if you want a natural-looking result.

The Metallic Parameter

The Metallic setting determines whether a surface behaves like a metal. A value of 0 corresponds to a non-metallic material, such as wood, plastic, or fabric. A value of 1 corresponds to a metallic surface, such as steel, aluminum, or gold.

Metals reflect light differently from non-metallic materials. Their color also influences the visible reflections. For example, gold-colored metal has yellow-tinted reflections, while silver-colored metal produces more neutral reflections.

The Roughness Parameter

Roughness controls how reflections are distributed across a surface. A low value produces sharp, concentrated reflections. A high value spreads out the reflections and creates a more matte appearance.

Imagine a perfectly polished metal surface. It can reflect its surroundings almost like a mirror. If you increase its Roughness, the reflections gradually become blurry. The surface may then resemble brushed or worn metal.

Roughness does not directly change the object's geometry. It only modifies how light interacts with its surface. This is why two identical objects can have very different appearances when they use different Roughness values.

Creating Different Types of Materials

Now that you know the main parameters, you can try recreating some common materials. The easiest approach is to start with spheres, because their rounded surfaces make it easier to observe reflections and lighting variations.

  • Colored plastic: choose a bright color, set Metallic to 0, and use medium Roughness.
  • Shiny metal: set Metallic to 1 and use low Roughness.
  • Rubber: use a dark color, Metallic at 0, and high Roughness.
  • Ceramic: choose a light color, Metallic at 0, and fairly low Roughness.

These settings do not perfectly reproduce every physical property of the materials, but they provide an excellent foundation. For greater realism, you can later add textures, surface details, and variations.

Understanding Light Emission

The Emission parameter gives a surface a glowing appearance. Unlike a standard material, an emissive surface produces its own light in the shader calculations. It can be used to represent a screen, an illuminated sign, or a switched-on lamp.

In Principled BSDF, you can adjust the emission color and its intensity. A low intensity creates a subtle effect, while a high value makes the surface appear much brighter.

Be careful: an emissive surface does not necessarily illuminate nearby objects in the same way across all rendering engines. The result depends on the engine used and the scene settings. For reliable illumination, it may be useful to add an actual light source.

Creating a Transparent Material

Some objects need to allow light to pass through, such as windows, bottles, and drinking glasses. Blender can simulate these materials using the transmission settings of the Principled BSDF shader.

To create a glass-like material, use high Transmission, low Roughness, and a Metallic value of 0. Transmission allows light to pass through the surface, while Roughness influences how clearly you can see through it.

The IOR parameter, or Index of Refraction, controls how light bends when passing through a material. For ordinary glass, a value around 1.45 to 1.5 is a reasonable starting point.

Depending on the Blender version and rendering engine, additional settings may be necessary to display transmission and refraction correctly. We will explore these effects in more detail in the lighting and rendering lessons.

Viewing Colors in the 3D Viewport

In the upper-right corner of the 3D Viewport, four buttons allow you to change the display mode. To see your material, selectMaterial Preview, the third button from the left. In Solid Mode, which is used by default, objects often remain gray: this mode is primarily designed for fast modeling.

Screenshot of Blender's four viewport shading modes, with Material Preview highlighted.

You can also switch modes without using the mouse: pressZin the 3D Viewport. A circular menu appears around the cursor. Simply select the desired display mode. This is faster than clicking the small buttons at the top of the screen.

The Four Viewport Shading Modes

  • Wireframe: mainly displays the edges of the mesh.
  • Solid: displays object volumes simply, without fully calculating materials.
  • Material Preview: shows colors, reflections, and material properties.
  • Rendered: displays the scene according to the rendering engine and its settings.

Solid Mode is generally the fastest for working on geometry. Material Preview allows you to check colors and surfaces without starting a final render. Rendered Mode is useful for observing the scene's appearance with its actual lighting.

On a less powerful computer, Material Preview and Rendered Mode may require more resources. If navigation becomes slow, temporarily switch back to Solid Mode to continue modeling comfortably.

The Importance of Lighting

A material does not always look the same under different lighting conditions. A glossy surface reflects light sources and its surroundings. A matte surface scatters more light and produces less noticeable reflections.

For example, a metallic material may appear almost black in a very dark environment. If you add a large light source, reflections appear and make the object's shape easier to understand.

This is why it is better to test materials under suitable lighting conditions. A simple Area Light and a sufficiently bright environment are already enough to observe differences between several surfaces.

Using Multiple Materials on One Object

In Edit Mode, you can assign different materials to different faces. Add a material slot using the "+" button in the material list, create or select a material, choose the desired faces, then click Assign.

Each material assigned to an object occupies a slot in the list. In Edit Mode, the Selectand Deselect buttons allow you to see which faces use the active material slot. This is very useful for checking how materials are distributed, for example on a car with a body, windows, and tires.

Take a cube as an example. You can give its side faces a red material and its top face a white material. To do this, switch to Edit Mode, enable Face Selection, then assign the appropriate material to each part of the cube.

This method is particularly useful when several parts of an object need different appearances. You do not need to separate each part into a new object: a single mesh can contain multiple materials.

Reusing an Existing Material

When several objects need exactly the same appearance, it is better to reuse an existing material. For example, if you model four metallic table legs, you can assign them the same material instead of creating four different ones.

Select the object that should receive the material, open the Material tab, then use the existing material selector to choose the desired one. The objects will then share the same material settings.

Be careful: when a material is shared, changing its settings may affect the appearance of every object using it. If you want to create an independent variation, you can make a copy before changing its color or Roughness.

Good to Know

Give your materials clear names, such as "Matte_Red", "Polished_Metal", or "Transparent_Glass". This will be extremely useful when your scene contains many objects.

Organizing Your Materials

In a small project, a few materials are usually enough. But in a more complex scene, you can quickly accumulate many different materials. It then becomes important to organize them properly so you can easily find the ones you need.

A good approach is to use descriptive names that indicate the color or material type. For example, "Light_Wood", "Black_Plastic", and "Brushed_Steel" are easier to identify than "Material.001" or "Material.002".

Also avoid creating several identical materials without a reason. Reusing existing materials simplifies future modifications and helps keep your project organized. This allows you to change the appearance of several objects by editing a single shared material.

Unused Materials

When you save and reopen your project, a material that is not assigned to any object may be automatically removed by Blender. If you want to keep it for later, enable the Fake User option, usually represented by a shield-shaped icon. The material will then be preserved even when no object uses it.

Common Material Mistakes

  • The material is not visible: check that you are using Material Preview or Rendered Mode.
  • The metal looks too dark: add lighting or an environment that can produce reflections.
  • The surface is too shiny: gradually increase Roughness.
  • Several objects change together: check whether they share the same material.
  • One face keeps its previous color: check its material slot and use the Assign button if necessary.

These problems are common during your first modeling sessions. In most cases, simply checking the display mode, shader settings, or material assignments is enough to understand what is happening.

Practical Exercise: Comparing Three Materials

To practice what you have learned, create three identical spheres and place them side by side in a scene. You will assign different materials to compare how they react to light.

Mini-Project: Three Spheres
Sphere 1: matte red plastic
Metallic  : 0
Roughness : 0.8

Sphere 2: shiny metal
Metallic  : 1
Roughness : 0.15

Sphere 3: glossy blue plastic
Metallic  : 0
Roughness : 0.2

Next, switch to Material Preview. Observe the differences between the three spheres. Matte plastic produces diffuse reflections, while shiny metal reflects more of its surroundings. Glossy plastic retains a non-metallic color with more pronounced reflections.

Gradually adjust the Roughness of each sphere to understand its effect. Then try changing the colors without modifying the other parameters. You will notice that color and Roughness influence the final appearance in different ways.

Key Takeaways

  • A material describes the appearance of an object's surface and can be created using the New button.
  • The Principled BSDF shader combines color, Metallic, Roughness, Emission, and Transmission settings.
  • Roughness controls the sharpness of reflections, while the Metallic parameter determines metallic behavior.
  • Material Preview, also accessible through theZmenu, allows you to see colors in the 3D Viewport.
  • You can assign multiple materials to a single object, face by face, using the Assign button.
  • The same material can be shared between several objects to maintain a consistent appearance.
  • Lighting plays an important role in the appearance of materials, especially metals and glossy surfaces.

Exercise

Create three spheres and give them three different materials: a matte colored material, a metal with Metallic set to 1 and low Roughness, and a glossy plastic. Compare their reflections in Material Preview and adjust their settings to observe the differences.

Go Further

Create an emissive material and place it near light-colored objects to observe its appearance and, with suitable render settings, its influence on the scene's lighting. Then try assigning two different materials to the faces of a single cube, and rename each material using a clear, descriptive name.