Introducing Shaders in Blender
local graph
Chapter 13 — Introducing Shaders in Blender
Section titled “Chapter 13 — Introducing Shaders in Blender”Throughout this book, you have navigated many parts of the Blender multiverse. Now, it is time to look at shaders. Shaders are like your set of paints and tools that help you add colors, textures, and effects to your 3D models. They tell the computer how to draw the surface of your 3D model by defining its color, how shiny or dull it should be, and how it interacts with light. The paint and technique you use can make your model look wet, metallic, or even translucent. In the same way, shaders help you achieve these effects on your 3D models, making them look as realistic or stylized as you want.
Blender has a specialized interface optimized for shading tasks, and we will go through it in this comprehensive guide. Some key areas include the Material Properties panel, the Shader Editor, and the 3D Viewport. You will find out how to access and use different shading tools through project examples and visualizations. You will learn about the process of adding materials to objects, and about how different render views, such as Material Preview, Eevee, and Cycles, can dramatically change what your 3D models look like.
You will also explore the roles of materials and material slots and discover the versatility of the Principled BSDF shader. This is the main tool used to define and adjust the appearance of these materials. We will focus on the importance of shader properties because of their role in defining how your models look.
The chapter begins by setting the stage for more advanced topics, such as nodes and node-based workflows. As you go along, you will learn how to create and tweak complex materials, which will help you get a solid grasp of these advanced techniques.
So, in this chapter, we will cover the following topics:
- Understanding Blender’s interface for shading
- Adding materials to objects and understanding different render views
- Mastering nodes and node-based workflows in Blender
- Creating your first material and shader in Blender
- Exploring advanced material properties in Blender
- Creating PBR materials
- Using Blender’s Node Wrangler for efficient workflow
- Understanding Ambient Occlusion
- Introducing Blender’s shader nodes
- Understanding and using displacement in Blender shaders
- Familiarizing yourself with shader baking in Blender
Technical requirements
Section titled “Technical requirements”As for Blender 4.5 LTS (Long-Term Support), the general requirements include a macOS 11.2 or newer (Apple Silicon supported natively) operating system, or a Linux (64-bit, glibc 2.28 or newer) operating system. Blender now requires a CPU with the SSE4.2 instruction set, at least 8 GB of RAM (32 GB recommended for heavy scenes), and a GPU supporting OpenGL 4.3 with a minimum of 2 GB of VRAM.
For a full list of technical requirements, please refer back to Chapter 1 of this part.
Understanding Blender’s interface for shading
Section titled “Understanding Blender’s interface for shading”Before you start exploring the world of shading in Blender, you need to pinpoint the specific areas of Blender’s interface that you will be using. Blender’s interface is thoughtfully organized into various panels and workspaces, each specialized for different aspects of 3D modeling and rendering. For shading, you will be focusing on the Material Properties panel, the Shader Editor, and the 3D Viewport.
First up, the Material Properties panel, which is represented by an icon resembling a red ball on the right-hand side of the Blender interface (Figure 13.1). This panel is crucial for shading as it displays all the materials assigned to your selected object. In this panel, you can add new materials or edit existing ones. It serves as the starting point for defining the appearance and feel of your entire scene, based on each individual object it is made up of.

Figure 13.1: Blender’s Material Properties panel in Substance Painter Beginner’s Guide to Game Texturing by 3D Tudor
Imagine you are a chef in a kitchen, and you keep all your spices and ingredients in a single cupboard. Each dish you prepare needs a specific set of these ingredients. In Blender, the Material Properties panel is like that cupboard. It is where you select and adjust all the ingredients for your 3D model’s appearance, such as color, shininess, and texture.
Blender’s Shader Editor comes next. It is the heart of material creation in Blender. The Shader Editor is a node-based system, which might look complex at first, but it offers you detailed control over the materials. It is a more advanced and detailed space where you can visually connect and adjust different nodes (such as sliders and knobs) to create complex materials and textures for your 3D models.
Within the Shader Editor, you will connect different nodes (i.e., small boxes representing various material properties, as shown in Figure 13.2) to create complex materials. Each node affects the material’s properties, and how they are connected can drastically change how your model looks.

Figure 13.2: Example node structure in the Shader Editor in “Master Blender 3D with Wild West Environments” by 3D Tudor
Note
You can find the Shader Editor by changing your workspace to Shading at the top of the Blender window.
Last but not least comes the 3D Viewport. It is the large central area of the Blender interface, where you can see your 3D scene from various angles. You can watch your models, see how the lighting affects them, and preview how changes in materials and textures made in the Shader Editor or the Material Properties panel will look in real time, as shown in Figure 13.3.

Figure 13.3: Blender’s 3D Viewport in action in Substance Painter Beginner’s Guide to Game Texturing by 3D Tudor
Tip
For shading purposes, you will want to set this to the Material Preview mode. This mode, which can be activated by clicking on the sphere icon located toward the top right of the 3D Viewport (shown in Figure 13.4), allows you to see the effects of your shading changes in real time. The Material Preview mode will help you understand how your materials interact with the lighting and objects in your scene.

Figure 13.4: Material Preview mode options
In this section, we covered Blender’s interface for shading, including the Material Properties panel, the Shader Editor, and the 3D Viewport. These tools help you manage materials, create complex textures, and preview your scene in real time.
Your first material: making raw bronze in seconds
Section titled “Your first material: making raw bronze in seconds”When you create a new material in Blender, you will notice something waiting for you in the Shader Editor: a Principled BSDF shader. This is Blender’s all-in-one material node, and it is powerful enough to handle everything from skin to plastic to metal, with just a few tweaks.
Let us start by turning this default material into something that already looks great: raw bronze.
Step 1: Base Color
Section titled “Step 1: Base Color”Base Color is the starting tint of your material. Click on the Color box and shift it toward a yellowish-bronze tone. You can go with something like a muted golden brown, or simply drag the hue slider toward yellow and slightly desaturate it. Do not worry about getting it perfect, it is meant to look raw and a bit imperfect.
Step 2: Metallic
Section titled “Step 2: Metallic”Next, find the Metallic slider and crank it all the way to 1. This tells Blender that your material is fully metallic, not a painted surface or plastic.
You will immediately see the shader come alive, reflecting light more like real metal.
Step 3: Roughness
Section titled “Step 3: Roughness”Now drag the Roughness slider down, but not too far. Something around 0.25 is a great start. This controls how smooth or scratched up the metal looks. A lower value means shinier reflections. Higher values make it more matte.
For raw bronze, we want a slightly polished look, so you still get nice highlights without it looking like chrome.
And just like that, in Figure 13.5, you have a believable, stylized bronze surface, all with three tiny tweaks.

Figure 13.5: Guided walkthrough of making a stylized bronze material work
This is the power of Principled BSDF: it is like a Swiss army knife for materials. Once you understand how to guide it, you can build almost anything, from dirty wood to sci-fi glass. But starting with a simple bronze is a great way to build confidence. Next, we will explore adding materials to objects and understanding different render views, such as Material Preview, Eevee, and Cycles.
Adding materials to objects and understanding different render views
Section titled “Adding materials to objects and understanding different render views”In Blender, adding materials is what takes your 3D models from bland to something special. Understanding the different render views, such as Material Preview, Eevee, and Cycles, is also important since they each offer different ways to visualize what you have made. We will now explore how to add materials to objects and the differences between these views.
Adding decal materials to objects
Section titled “Adding decal materials to objects”To add a material to an object in Blender, follow these steps:
- Click on the object to which you want to add a material.
- Open the Material Properties panel (identified by a red ball icon on the right-hand side of the Blender interface).
- Click on the New button in the Material Properties panel. This will create a new material slot and assign a default material to your selected object.
- Use the settings in the Material Properties panel to adjust the material’s properties, such as its color, reflectivity, and texture. Figure 13.6 shows you the most basic setup of a decal plane with just a few nodes, which is easy to replicate if you are a beginner.

Figure 13.6: Blender’s Shader Editor options
- To access more advanced features, open the Shader Editor, where you can use nodes to create complex materials, as shown in Figure 13.6.
Understanding different render views
Section titled “Understanding different render views”Blender offers several ways to preview and render your scene, each with its advantages. In Part 7, Rendering and Lighting Optimization in Blender, we will discuss all of Blender’s rendering engines, their options, and how to optimize them in full detail. For now, we are focusing on the role of rendering engines in shading.
First of all, let us talk about the Material Preview mode. This mode, accessible in the 3D Viewport, gives you a quick way to see what materials you applied to objects without fully rendering the scene. Blender’s Material Preview mode is useful for fast, approximate previews of how your materials look under generic lighting conditions. For example, back in Figure 13.6, you can see a black and white image set up as an alpha texture (i.e., one of the Shader inputs that we will look into later) that was used to create a decal.
For simplicity, it can still work with a call-out that explains the black and white image works like a mask or stencil, and the alpha channel uses white to gray values to tell the shader what to show/render, and black to tell the shader what to mask/hide/make transparent.
Tip
Use the Material Preview mode when you need a fast check on how your materials look. It is also less demanding on your computer’s resources.
Now, we should talk about the quickest rendering engine.Eevee is Blender’s real-time render engine. It is designed to provide a high-quality preview of your scene in real time, making it great for fast rendering and animation previews. Eevee is less computationally intensive than Cycles, but does not calculate light and shadow as accurately as Cycles.
Tip
Choose Eevee when you need a balance between speed and quality. It is ideal for animation previews or when working on less complex scenes.
Last but not least,Cycles is Blender’s physically-based, ray-tracing render engine. It calculates light and shadows more accurately, producing more realistic results, especially for scenes with complex lighting. However, Cycles is tougher on your computer and can take longer to render a scene.
Tip
Use Cycles for your final renders or when working on scenes where realism and lighting accuracy are crucial. Keep in mind that rendering with Cycles can be time-consuming, especially for high-resolution images or complex scenes.
Adding materials in Blender is a straightforward process that can dramatically change the appearance of your 3D models. By understanding the different render views Blender offers, you can choose the most appropriate one for your project’s needs, whether it is a quick material preview, a real-time render, or a high-quality final image. Next, we will look at the basics of creating and changing materials to change how objects appear in your 3D scene.
Basic concepts of material shading
Section titled “Basic concepts of material shading”Shading in Blender is a fascinating process that involves creating and adjusting materials to define how objects appear in your 3D scene. To get a deeper understanding, we need to expand on some of the fundamental concepts, starting with materials and material slots.
In Blender, materials are what give your 3D objects color, texture, and reflectivity. Materials are assigned to objects through material slots (Figure 13.7).

Figure 13.7: Material assignment in Blender 4 using a wooden chest example
Think of each slot as a container that holds a specific material. A single object can have multiple material slots. This means that different parts of the object can have different materials. For example, a car model could have separate materials for the body, windows, and tires, each in its own slot.
The next fundamental concept you need to know about is the Principled BSDF shader. This is the go-to shader in Blender, and you will be using it for most material creation tasks. The Principled BSDF shader combines multiple shader properties into one node, making it easier to create realistic materials. It is a great starting point for beginners and a powerful tool for advanced users. It will save you time because you can make quick changes to how things look, such as making them shiny, see-through, or metallic, all in one place. Instead of having to mess around with lots of different settings and mix them to get what you want, you can do most of it with just one tool. This is handy when you are in a hurry or trying to figure out the best look for something.
You should also know about Shader Properties. These properties are what you adjust to change how your materials look. Some of the key properties under Shader Properties are the following:
- Base Color: This defines the primary color of your material. It is the most straightforward way to change how a material looks. This is as simple as changing a red cube into a blue one.
- Metallic: This gives your material a metallic sheen. Increasing this value makes the material look more like metal, affecting how it reflects light. An example project where you would use Metallic could be a realistic car model, as in Figure 13.8. The body of the car can be given a metallic paint effect, simulating how real car paint looks with a mix of a base color and a metallic sheen.

Figure 13.8: Car model using a Metallic material in Blender Beginner’s Bootcamp by 3D Tudor
- Specular: This controls the reflectivity of the material. Higher values result in a more reflective surface, which is essential for creating materials such as glass or polished surfaces. For example, you might use this if you are modeling a mirror. The high Specular value would help to simulate the light-reflective properties of the mirror’s surface, and by using the Anisotropic parameter, you will give extra depth to your mirror (Figure 13.9).

Figure 13.9: Mirror with a Specular material in Blender Beginner’s Bootcamp by 3D Tudor
- Roughness: This affects how rough or smooth the material’s surface appears. A lower value results in a smoother surface, which reflects light sharply, while a higher value scatters light, giving a more diffused reflection. With wooden floors, Roughness plays a crucial role in their appearance:
- A lower Roughness value might be used to simulate a well-polished, shiny wooden floor, such as what you might find on basketball courts
- A higher Roughness value could represent an old, weathered wooden deck
- A lower Roughness value might be used to simulate a well-polished, shiny wooden floor, such as what you might find on basketball courts
Blender includes many other shaders, each with its unique purpose and set of properties. Table 13.1 includes some example shaders, their purpose, and example projects for each one:
| Shader name | Purpose | Example projects |
|---|---|---|
| Emission | Makes your material emit light | Light bulbs, glowing signs |
| Transparent BSDF | Used to create transparent materials | Glass, water |
| Diffuse BSDF | Ideal for non-reflective, matte surfaces; scatters light evenly | Materials with a soft appearance |
| Glossy BSDF | Used for creating shiny, reflective surfaces | Surfaces that require a shiny look |
| Mix | Blends two different shaders; does not create a material on its own | Complex materials with multiple characteristics |
Table 13.1: Shaders, their purpose, and example projects
Remember, these are just a few examples of what Blender has to offer in terms of shaders. Each shader can be used on its own or combined with others to achieve a wide range of effects. For example, you could combine the Glossy BSDF and Diffuse BSDF shaders using a Mix shader to create a material that has both a shiny reflective surface and a soft, matte finish, mimicking the appearance of satin or semi-gloss paint. This Mix shader could be used on smartphones or laptops to create realistic materials that mimic the look of metallic bodies with a satin finish. Digging into Blender’s shader palette and tweaking each setting is the quickest way to get comfortable with material shading.
In the next section, we will explore Blender’s node-based workflow for shading.
Mastering nodes and node-based workflows in Blender
Section titled “Mastering nodes and node-based workflows in Blender”Blender’s node-based workflow for shading lets you create and change materials in a creative way. Nodes are the building blocks of this system, and each node represents a specific function. When connected, nodes form a network like a tree that defines how your materials look and behave. This part of Chapter 13 will help you understand what nodes are, their common types, and the basics of working within the Node Editor.
Understanding nodes: a comprehensive snapshot
Section titled “Understanding nodes: a comprehensive snapshot”Blender’s node-based workflow for shading lets you create and change materials in a creative way. Nodes are the building blocks of this system (a sort of visual coding, basically), and each node represents a specific function. When connected, nodes form a network, called a node tree, that defines how your materials look and behave. This part of Chapter 13 will help you understand what nodes are, their common types, and the basics of working within the Node Editor.
Each node has a set of inputs on the left and outputs on the right, as shown in Figure 13.10. Inputs are parameters that the node can receive from other nodes, while outputs are the results of the node’s function, ready to be passed on to other nodes. For example, an Image Texture node has an output that sends the texture information to the next node in the chain.

Figure 13.10: Example node settings preview
Note
Depending on the node, you might only have Input or just Output options to play with.
You can find out more about the color coding of nodes in Table 13.2:
| Color | Type | Usage |
|---|---|---|
| Yellow | Color (RGB) | Typically used for anything related to color, such as textures or base colors. |
| Gray | Scalar (Value) | Used for controlling scalar properties such as roughness, specular values, and so on. |
| Green | Shader | Used for connecting shaders within a material. Represents the surface properties of a material. |
| Purple | Vector | Used for any data consisting of three values, including vector-based tasks such as normals, displacement, transformations, or RGB values. These are often used in normal mapping, UV mapping, or to pass XYZ coordinate data. |
Table 13.2: Color coding of nodes in Material Design
To create a material, you connect the output of one node to the input of another. Connect the output of an Image Texture node to the Base Color input of a Principled BSDF node that applies the texture as the material’s color. This will map the texture onto your 3D model, giving the surface a detailed and realistic appearance based on what image you used.
Tip
Controls within the middle of a node allow you to adjust specific properties or parameters of that node. These adjustable fields or sliders let you modify the behavior of the node itself. They are internal controls that define how the node processes the data and can often be linked to external inputs.
Common nodes and their uses
Section titled “Common nodes and their uses”Understanding the essential nodes for creating materials is key to your shading workflow. Here are some key nodes you will frequently use:
- Principled BSDF: This node is used for creating a wide range of materials. It combines multiple shader properties (i.e., Base Color, Roughness, and Alpha) into one node, simplifying the material creation process. The shader properties included in Principled BSDF are shown in Figure 13.11.

Figure 13.11: Principled BSDF properties in Blender 4
Note
Principled BSDF is a versatile shader suitable for most materials. It is designed to work well in different and varied lighting conditions, making it ideal for any scene.
For example, you can use Principled BSDF to create a photorealistic wooden table through Roughness, Specular, and Sheen.
Tip
Combine Principled BSDF with an Image Texture node that contains a high-quality wood texture. Experiment with the Roughness and Specular values to achieve a realistic look. Adding a slight bump or normal map can enhance the realism of the wood grain.
- Image Texture: This node is used to import texture images into your material. It is crucial for adding realism through images such as diffuse maps, bump maps, or normal maps.
For example, you could use it to design a vintage leather book cover. You could apply a high-resolution leather texture image to give a book a realistic and aged appearance.
Tip
The Image Texture node can be connected to the Base Color property of Principled BSDF. Use a bump map or normal map together with the original texture to simulate the uneven surface of aged leather. Make sure the image texture has enough resolution to avoid pixelation at close views. For example, you might want to choose a 4K (4,096 x 4,096 pixels) image texture over a standard HD (1,280 x 720 pixels) image texture for this reason.
- Mapping: This node controls how textures are placed and oriented on your object. It is important for adjusting the scale, rotation, and position of your textures. Experiment with non-uniform scaling to create variations in textures. This is especially useful if you are trying to avoid a tiled look.
Note
Node Wrangler will be covered later, since the Mapping and Texture Coordinate nodes can be generated together with that. Without the Mapping node, you might come across problems such as textures appearing stretched or squashed and misaligned textures that do not fit properly on the model’s surface.
For example, you could use the node to design custom wallpaper for interior design. You can adjust the scale, rotation, and position of a floral wallpaper texture to fit perfectly on a room’s walls.
Tip
Connect the Mapping node between the Image Texture node and the Texture Coordinate node. Use it to tile the texture seamlessly across large areas. Pay attention to the texture’s scale to avoid unrealistic repetition patterns.
- Texture Coordinate: This node provides different methods of mapping textures onto objects. The Texture Coordinate node determines how the texture is wrapped around the 3D model.
For example, you could use this node to animate water for a pool, using generated coordinates to apply a moving water texture that wraps around the pool.
Tip
For dynamic textures such as water, the Texture Coordinate node’s Generated or Object output can be keyframed or driven by an animation node to simulate motion. Combine with a Mapping node for more control over the texture’s movement and orientation.
Node Editor basics and techniques
Section titled “Node Editor basics and techniques”Learning the basics of the Node Editor is super important for creating and managing materials in Blender. Here are the key steps to get you started:
- To add a node, press Shift + A in the Node Editor. This brings up the Add menu, where you can search for and select the node you need. For example, searching for
Principledwill bring up the Principled BSDF node. - To connect nodes, click and drag from an output socket of one node to an input socket of another. A line will appear, showing the connection. This line represents the flow of data between nodes, as shown in Figure 13.10.
- To duplicate a node, select it and press Shift + D.
- To delete a node, select it and press X or Delete on your keyboard.
Organizing node graphs
Section titled “Organizing node graphs”As your node tree grows, keeping it organized will be the bread and butter of your workflow:
- Click and drag nodes around, and use Ctrl + J to create a frame around your selected nodes. Select the frame by pressing G, this will let you move all the nodes within it together.
- You can rename the frame by selecting it and pressing F2. To add an item to the frame, simply move it inside the frame’s boundaries. To remove an item from the frame, select the item and press Alt + P.
- Label nodes and frames to keep your workflow clear.
Organizing shaders
Section titled “Organizing shaders”You can also manage nodes with Blender’s Node Wrangler add-on. We will discuss this in more detail later in this chapter, but it is good to introduce you to it now. It adds shortcuts and features that make working with nodes faster and more intuitive.
For example, with Node Wrangler enabled, you can quickly join nodes using different drag shortcuts depending on what you want to achieve:
- Alt + right mouse button drag creates a direct connection between two compatible sockets (e.g., Color → Color, Shader → Shader). Simply drag a line from one node’s output to another node’s input. If they are compatible, you will see a green line before releasing, and the connection will be made cleanly, ideal for fast, automatic wiring between common node types.
- Ctrl + Shift + right mouse button drag goes a step further: it inserts a Mix node (such as a Mix Color or Mix shader) between the two nodes based on context. For example, connecting two textures will create a MixRGB node, and connecting a texture to a shader input might create a Mix shader. This shortcut is perfect when you want to blend or combine two sources without manually setting up the node structure.
These two drag shortcuts make node creation and editing much faster, streamlining your shader workflow significantly.
As a second example, connecting two textures will create a Mix Color node. Using that Mix Color node on a Principled BSDF shader will create a Mix shader. This feature streamlines the process of applying textures, saving significant time and effort.
Before we move on, since we are talking about frames and groups, we should also talk about Blender’s Reroute node. The Reroute node in Blender is simple but powerful because it helps organize complex node setups by allowing you to manage and streamline connections between nodes.
To create a Reroute node in Blender, hold Shift and drag a dotted line across an existing route link (i.e., the line connecting two nodes). This will create a Reroute node at your desired point.
Note
If you hit the slash (/) key (next to the right Shift key) with a node selected, you can add a Reroute node directly to the output socket(s). It is maybe not as useful as the typical Reroute because you have to select the behavior you want from a pop-up menu, but it is an alternative.
You can move the Reroute node by selecting it and pressing G to adjust its position within your node setup. To keep your node tree organized, you can also straighten multiple Reroute nodes at once. Select the nodes you want to align, and then press S + Y + 0 for vertical straightening or S + X + 0 for horizontal straightening. This will give you a clean and orderly layout, making your node tree easier to navigate and understand. If you are working on large projects where many nodes are interconnected, a Reroute node will help reduce visual clutter and make the node setup easier to navigate and debug.
Tip
You can create multiple outputs from a single Reroute node, letting you split and direct the same data to different parts of your node tree efficiently.
Mastering the node-based workflow in Blender will help you form complex materials. With practice, you will find that nodes are incredibly versatile and powerful. Now that you have acquired the basic knowledge behind the process of shading in Blender, I will guide you through creating your first material and shader.
Creating your first material and shader in Blender
Section titled “Creating your first material and shader in Blender”This section will guide you through the process of creating your first material and shader in Blender. We will start with a basic object and step-by-step instructions to help you understand each part of the process. You will learn how to use different nodes, connect them to form a shader, and even add some animation to your material. So, let’s get started:
- Start with a basic object in your scene; here, we will use a cube. This will be the object to which you will apply your material.
- In Blender’s interface, switch to the Shading tab.
- With the cube selected, add a new material. You can do that in the Material Properties panel.
- The new material comes with a Principled BSDF shader by default. Delete this shader since you will be creating a custom one.
- Add an Emission Shader node. This shader makes your object emit light. To do that, hover over the shader window, press Shift + A, and search for
Emission. Select Emission Shader. - Add a Color Ramp node to blend colors in a gradient by pressing Shift + A and searching for
Color Ramp. - Add a Noise Texture node to create a procedural texture. This means that you will be able to add random, organic variations that can mimic surfaces such as rock, water, or clouds to your material.
- Link the Factor output of the Noise Texture node to the Factor input of the Color Ramp node. This might sound confusing at first, but essentially, this will control how the noise pattern affects the color transition in Color Ramp.
- Connect the Color output of Color Ramp to the Color input of the Emission shader.
- Finally, link the Emission output to the Surface input of the Material Output node, as shown in Figure 13.12.

Figure 13.12: Visual representation of connecting the nodes
- Increase the strength of the Emission shader to
3. This will make your material significantly brighter. - Select the Color Ramp node, click the + icon to add a new stop in the middle of the gradient, select that new stop, and change its color to blue using the parameter below.
- In the Noise Texture node, set Scale to
12, Detail to1.5, Roughness to0.7, and Distortion to-2. These settings will affect the appearance of the noise pattern on your material. - Switch back to the Layout tab and go to frame 1 in your timeline.
- Return to the Shading tab, hover your mouse over the Lacunarity parameter in the Noise Texture node, and press i to insert a keyframe. The default is 2, and once you have inserted this frame, it should now be highlighted in yellow.
- Switch back to Layout and change the frame to
100. Afterward, go back to Shading, and change Lacunarity to1.99and press I while hovering over it. - Move to a different frame, adjust the Lacunarity value slightly, let us say to
1.99, and press I again to insert another keyframe. This creates a basic animation for your material. - Upscale the cube by 100. To do that, select your cube, press S, and set the value to
100. - Now, add a camera to the scene and use Render, followed by Render Animation to see the final result. The material you have created should result in a stylized, animated sky with good ambient lighting, giving it a dynamic and visually appealing look (Figure 13.13).

Figure 13.13: Rendering the scene with your first material made from scratch
By following these steps, you have created and animated your first material in Blender. As we move on, we will look at advanced material properties.
Exploring advanced material properties in Blender
Section titled “Exploring advanced material properties in Blender”Advanced material properties help you to simulate a wide range of physical characteristics. This could be anything from the way light interacts with skin to the reflective qualities of metal. When you are trying to replicate a specific material, use real-world references. Take notes of how light interacts with different materials in the real world and try to replicate those observations in Blender. The most important advanced material properties to know about are Subsurface Scattering (SSS), Metallic and Specular, and Specular Reflection.
Tip
The key to getting better at using these advanced properties is experimentation. Try combining different values and observe how they interact with each other and the 3D environment around them.
Using Subsurface Scattering (SSS) can make the skin of your 3D characters look lifelike by simulating how light penetrates the surface and scatters beneath it, just like it does in real human skin. In Subsurface Scattering (SSS), light penetrates the surface of a translucent object, scatters by interacting with the material, and exits the surface at a different point. This effect is crucial for materials such as skin, wax, marble, and leaves, where light does not just bounce off the surface.
Note
You can implement SSS in your materials using the Principled BSDF shader. You can adjust the subsurface scattering radius and color to simulate different kinds of materials. For example, skin would have a scattering radius that gives a reddish hue at shallow depths, while marble would have a larger, more uniform scattering effect.
The Metallic and Specular material properties let you replicate the shiny, reflective surface of the car’s paint. First of all, Metallic in the Principled BSDF shader determines how metal-like your material appears. A value of 0 represents non-metallic materials, while a value of 1 represents metals. Metals reflect light in a specific way, often tinting the reflected light with their color. Next, Specular Reflection is the mirror-like reflection of light from a surface. In Blender, Specular controls the intensity and sharpness of these reflections. You will find it very useful for creating materials such as polished surfaces, glass, or water.
Metallic/Specular (Blender ≤ 3.6)
Section titled “Metallic/Specular (Blender ≤ 3.6)”Older Blender versions offered a Specular Reflectivity slider to control how strongly non-metallic surfaces reflected light.
Metallic/Roughness (Blender 4.0 +)
Section titled “Metallic/Roughness (Blender 4.0 +)”From 4.0 onward, that slider was replaced by the modern Specular Roughness workflow:
- Metallic (0–1) still decides whether the surface behaves like a metal or a dielectric.
- Roughness now governs the size and clarity of the specular lobe. Lower values give crisp, mirror-like highlights; higher values blur them.
- If you are following along in 3.x, you will still see the old Specular field; in 4.x, you will work entirely with Metallic and Roughness.
Tip
Adjusting the Specular value and Roughness at the same time can help you achieve the desired level of reflectivity and clarity for materials such as polished surfaces, glass, or water.
There are two more advanced properties for materials that could change the fate of your 3D project.First, Transmission is used to create transparent materials such as glass or clear plastic. By increasing the Transmission value, you allow light to pass through the material, simulating transparency.
Tip
Transmission combined with Roughness can create effects ranging from clear, sharp glass to frosted glass.
The last advanced property for materials that we will talk about in this section is Emission. Put simply, Emission turns the material into a light source. This is useful for light bulbs, screens, or glowing signs, for example. You can control the color and intensity of the light.
Note
Emission is also used together with other properties for creating materials such as neon. To do that, you can add a Glow effect in the compositor, adjust the Emission strength for the desired intensity, and use a Color Ramp node to refine the neon color gradient.
By working through the scenarios where these advanced material properties can be used, you can create more realistic materials. Taking it a step further, we will now look at Physically Based Rendering (PBR). This is a cornerstone in 3D modeling and rendering because PBR textures let you create materials that react realistically to lighting conditions based on real-world data.
Creating PBR materials
Section titled “Creating PBR materials”PBR textures are a collection of image maps that work together to accurately simulate how a material interacts with light. Unlike simpler texturing methods that might just apply a flat color or basic shininess to an object, PBR materials use a combination of detailed image maps and mathematical models to reflect, absorb, or scatter light like real-life materials. PBR is the gold standard for digital rendering because it gives a predictable and realistic way for materials to behave.
Tip
For the best results, use high-resolution textures, especially for close-up shots where details are crucial. However, be mindful of your system’s capabilities, as higher-resolution textures can increase render times and require more memory.
While many places are offering PBR textures, 3D Tudor (https://3dtudor.gumroad.com/) stands out. It provides a variety of high-quality PBR textures suitable for different projects. Other popular sites include Poliigon (https://www.poliigon.com/) and Ambient CG (https://ambientcg.com/), which offer both free and premium textures.
Poliigon has a vast library and high-resolution textures, while Ambient CG offers a wide range of free options. 3D Tudor, on the other hand, is an excellent resource for those starting on their 3D modeling journey or working on projects with a tight budget.
Exploring PBR texture types
Section titled “Exploring PBR texture types”I will now talk you through what PBR textures are, how they are created, and where they can be sourced. PBR textures include, but are not limited to, Base Color (or Albedo), Roughness, Normal, Metallic, and Ambient Occlusion maps, as shown in Figure 13.3:
| PBR texture types | Function |
|---|---|
| Base Color / Albedo | Represents the color of the material without any lighting or shadow information |
| Roughness | Determines how rough or smooth the material’s surface is, affecting how it reflects light |
| Normal Map | Adds surface detail and texture without adding additional geometry, simulating bumps and dents |
| Metallic | Defines the metallic nature of a surface, differentiating between metal and non-metal areas |
| Alpha | Controls the transparency of a material |
Table 13.3: Commonly used PBR textures
To read more about different PBR texture types, including Specular, Transmission, and Diffuse, you can find out more from the Blender Foundation (https://docs.blender.org/manual/en/latest/render/shader_nodes/shader/principled.html). If you would like a deeper dive into photorealism, Photorealistic Materials and Textures in Blender Cycles (4th ed.) by Arijan Belec (https://www.amazon.com/Photorealistic-Materials-Textures-Blender-Cycles/dp/1805129635) walks through full-production case studies and shader ideas that pair perfectly with what we cover here.
Sharing brief advice about PBR textures
Section titled “Sharing brief advice about PBR textures”Even though you can get ready-made PBR textures from many different places, creating custom textures offers more control, and you can make sure no one has a texture like yours. Software such as Adobe Photoshop (https://www.adobe.com/products/photoshop.html) and Substance Designer (https://www.adobe.com/products/substance3d-designer.html) are widely used for creating PBR textures. Adobe Photoshop is powerful if you are editing and creating textures, and Substance Designer offers a node-based environment for more complex materials.
On a side note,AI tools such as Midjourney (https://www.midjourney.com/home) can be used to create unique textures. AI-generated textures can be used to create stylized or realistic properties for a Color Map. These AI-generated images can then be transformed into PBR textures using software such as Substance 3D Sampler (https://helpx.adobe.com/substance-3d-sampler.html), which allows you to generate PBR data (e.g., Roughness, Normal) from AI-generated images.
Once you set up your PBR textures, you can apply them in Blender by mapping these textures to the corresponding slots in the shader, such as connecting the roughness map to the Roughness slot in the Principled BSDF shader. One thing to keep in mind is that,often, textures need adjustments to fit the specific needs of a project. Blender tools, such as the Shader Editor, will help you fine-tune PBR textures, adjust their scale and orientation, and combine them with other shader nodes for more complex materials.
Note
When you are rendering scenes with PBR materials, you need to consider the lighting setup and render engine being used. PBR materials often look their best under realistic lighting conditions. You can set up realistic lighting conditions using HDRI environments or carefully placed light sources.
In a few words, PBR materials offer a level of realism based on the physical properties of materials. However, knowing how to apply PBR principles is key because it makes all the difference in creating uninspiring versus lifelike 3D scenes.
Note
Pay attention to the color space settings in your Image Texture nodes. Color maps (such as Base Color) should typically be set to sRGB, while non-color data maps (such as Roughness, Metallic, and Normal maps) should be set to Non-Color Data to make sure that everything renders accurately.
Setting up PBRmaterials in Blender can be a detailed process, especially if your goal is to achieve high realism in your 3D projects. I will help you out with that by showing you how to use the Node Wrangler add-on to efficiently import and map textures that can significantly streamline the process of setting up PBR materials.
Using Blender’s Node Wrangler for efficient workflow
Section titled “Using Blender’s Node Wrangler for efficient workflow”Node Wrangler is a powerful add-on built directly into Blender, offering many functionalities designed to simplify and speed up working with node-based materials. Blender’s Node Wrangler will help you quickly set up PBR materials and set up or adjust precise texture maps and adjustments. Put simply, Node Wrangler gives you the tools to create highly realistic materials in the most efficient way possible.
In this section, we will explore the steps you need to take to activate Node Wrangler. To not leave any stone unturned, we will also cover the manual setup of textures for those who prefer a hands-on approach.
Activating Node Wrangler and automating the PBR texture setup within a shader
Section titled “Activating Node Wrangler and automating the PBR texture setup within a shader”To get started on streamlining your PBR texture setup in Blender, you need to activate the Node Wrangler add-on. Here’s how to do it in just three steps:
- Navigate to Edit | Preferences | Add-ons.
- Search for Node Wrangler in the Add-ons section.
- Check the box next to Node Wrangler to activate it.
Once Node Wrangler is activated, you can use it to quickly set up PBR materials. Follow these steps:
- Select the Principled BSDF node in your material setup.
- Press Ctrl + Shift + T to activate the Node Wrangler quick PBR setup feature.
- Choose multiple texture maps (e.g., Base Color, Roughness, and Normal) from the file browser that opens.
- Node Wrangler will automatically create and connect the nodes for these textures, streamlining the PBR material setup (Figure 13.14).

Figure 13.14: Node Wrangler automation in action
It detects the type of textures by looking at their filenames. You can edit the tags used for this matching process in the add-on preferences.
Importing and mapping textures manually
Section titled “Importing and mapping textures manually”To import and map textures manually in Blender, ensuring each texture map is accurately applied to your material, follow these detailed steps:
- With your object selected, open the Shader Editor.
- Make sure you are in the Material tab to see the material nodes.
- Press Shift + A to open the Add menu in the Shader Editor.
- Navigate through Texture | Image Texture to add an Image Texture node.
Note
You will need to repeat this step for each texture map you plan to use (e.g., Base Color, Roughness, and Normal).
- For each Image Texture node, click Open to browse and select the corresponding texture map from your files.
Tip
In newer Blender versions, you can also drag and drop image files directly into the Shader Editor, and Blender will automatically create and connect the Image Texture node for you. This is often faster and more intuitive.
Note that Normal maps are used to add detail to surfaces without increasing the polygon count. However, OpenGL and DirectX handle the orientation of these Normal maps differently. Because of this difference, Normal maps created for one system might look wrong when used in another.
Blender uses OpenGL by default. However, it can be difficult to identify which Normal map format an asset is using. If the lighting and details on an object look incorrect, try converting the Normal map from one format to the other. To do this, invert the green channel (Y axis) of the Normal map. This will adjust the orientation to match the target system, correcting the appearance of the lighting and detail, as in Figure 13.15.

Figure 13.15: Troubleshooting a common Normal map orientation issue
Connecting textures to Principled BSDF
Section titled “Connecting textures to Principled BSDF”After importing your texture maps, the next step is to connect them to the Principled BSDF shader. This shader acts as a comprehensive material model that can simulate a wide variety of materials. Here’s how to connect each texture map:
- First, let us define the main color of your material:
- Drag the Color output of the Image Texture node intended for the Base Color map. 2. Connect it to the Base Color input slot of the Principled BSDF node. This defines the main color of your material.
- Next, we will control the material’s shininess and reflectivity:
- For the texture map that represents the roughness of the material, connect the Color output of its Image Texture node. 2. Plug it into the Roughness input slot of Principled BSDF. This controls the material’s shininess and reflectivity, affecting how matte or glossy it appears.
- Finally, let us add fine surface details and textures:
- Normal maps require an additional node to interpret the map correctly. Add a Normal Map node by pressing Shift + A, and navigating to Vector | Normal Map. This converts the color information of a texture into Vector information.
Note
Make sure the color space is set to Non-Color.
- Connect the Color output of the Image Texture node, which holds your Normal Map node, to the Color input of the Normal Map node.
- Then, connect the Normal output of the Normal Map node to the Normal input slot of Principled BSDF. This simulates fine surface details and textures without adding geometric complexity to the model.
Adjusting texture settings for realism
Section titled “Adjusting texture settings for realism”Blender lets you control how textures adhere to the complex surfaces of its models. To make sure that your textures are correctly mapped onto your 3D model, use Texture Coordinate and Mapping nodes. The Texture Coordinate node provides various options for how the texture is projected onto the object, with UV being the most common. The Mapping node lets you adjust the position, rotation, and scale of the texture. I recommend that you adjust the settings in the Mapping node to make sure that the texture fits your model correctly, as shown in Figure 13.16.

Figure 13.16: Wood grain textures in Blender 4 The Ultimate Environment Artist’s Guide by 3D Tudor
For example, if a wood grain texture is stretching unnaturally, you can scale it on the appropriate axis to correct its appearance. Let’s say your wood grain texture looked like it was being pulled too thin across a wide surface. In this case, you would adjust the Mapping node by increasing the scale along the axis that is stretched, making the texture appear more compact and natural.
Normal maps are another thing you should consider when you are adjusting texture settings for realism. When you are using Normal maps, make sure that you add a Normal Map node between the Image Texture node and the Principled BSDF shader. This node will convert the color information from Normal Map into proper normal data that Blender can use to simulate surface details. This avoids problems such as the flat appearance of textures that lack depth or incorrect lighting reflections that can make materials look unrealistic or out of place. Properly using a Normal Map node makes sure that the tiny bumps, grooves, and other surface details are accurately represented.
By leveling up and getting better at using these techniques for setting up PBR materials in Blender, you will be able to create highly realistic and visually appealing materials for your 3D models. Whether you are working on a simple project or a complex scene, these skills are essential for stepping up your 3D modeling game.
The next section shifts our attention to Ambient Occlusion, focusing on the soft shadowing effects that occur in natural and tight spaces where direct light struggles to reach. Understanding its common misconceptions and its correct usage in different rendering engines, such as Eevee and Cycles, will give you insight into another dimension of realism.
Understanding Ambient Occlusion
Section titled “Understanding Ambient Occlusion”Ambient Occlusion (AO) represents the occlusion (i.e., blocking) of ambient light in tight spaces and crevices where light has difficulty reaching. It adds depth and realism to your scene because it brings attention to soft shadows in those darker areas.
AO accentuates the depth and contours of models, much like how proper texture mapping and Normal maps move your viewer’s attention to the surface detail you created.
Tip
Often, AO maps are incorrectly used by simply multiplying them over the Albedo (i.e., Base Color) texture, affecting the material under all lighting conditions. This is not how AO works in real life. To avoid this mistake, you can use shader nodes to control when and where the AO effect goes.
Using AO in Eevee
Section titled “Using AO in Eevee”To set up AO in Eevee, follow the next steps:
- Start by adding in texture maps using Node Wrangler. Select Shader and then press Ctrl + Shift + T to import a texture map.
- Start by adding a Mix Color node to the Albedo texture and plug the AO map into the second slot.
- Set the blend mode to Multiply. Make sure your process is the same as in Figure 13.17.

Figure 13.17: Setting up AO in Eevee – initial settings
- Press Shift + A to add a Color Ramp node and drop it in between the AO and Mix Color nodes.
- Plug the Color Ramp output into the factor input of the Mix Color node (i.e., where the AO map is connected). Adjust the Color Ramp to control the AO effect by moving the black arrow closer to the center to intensify the effect, or vice versa. If you do this right, this will make sure that your AO is only visible under ambient lighting conditions.
- You can further adjust the AO map’s appearance by adding a Brightness / Contrast node or changing Color Ramp to a constant type for different effects.
- Connect the Color output of the shader to the first slot of the Color Mix node. If you do this right, this will make sure your AO is “faking” additional shadow depth in your real-time renderer.
Note
Ambient Occlusion maps do not always get their own fancy input slot in Blender. But that does not mean they are useless! You can still make your textures look way better by combining the AO map with your Base Color map.
The trick is to either multiply or mix AO with Base Color. This adds some nice visual complexity without needing to mess around with complex lighting. It is a simple way to make your textures pop, giving them that extra realism or stylized details, depending on what you are going for.
Using AO in Cycles
Section titled “Using AO in Cycles”In Cycles, AO is often naturally integrated due to path-traced rendering. However, you can use an AO pass for additional control.
Note for Eevee users
The Ambient Occlusion shader node is in Cycles only:
- For real-time previews, enable Screen-Space AO in the Eev ee Render settings.
- For final shaders, bake an AO map and mix it in a texture node; this is engine-agnostic and faster than the Cycles node.
To set up AO in Cycles, follow the next steps:
- First, create and set up the material:
- Switch to Cycles Render by selecting it from the Render Engine dropdown in the top-right corner of the screen. 2. Then, open the Shader Editor by navigating to the Shading workspace or switching any window to the Shader Editor. 3. Select your object and check whether it has a material. If it does not, create one by clicking New in the Materials tab.
- Next, add the Ambient Occlusion node:
- In the Shader Editor, press Shift + A to open the Add menu, and select Input and then Ambient Occlusion to add an Ambient Occlusion node. 2. Place the AO node in your shader graph, but do not connect it just yet, as we will modify it further.
- Now, we want to add and control the mix for color blending:
- Add a Mix Color node by pressing Shift + A, going to Color and then Mix Color, and placing it in your shader setup. 2. Connecting the AO map to the Factor input of a Mix Color node allows you to control the color of the AO information, enabling customization of shading and depth by blending it with different colors. 3. Insert a ColorRamp node by pressing Shift + A, selecting Converter, and then ColorRamp. 4. Place it between the AO and MixRGB nodes. This gives you control over the intensity and distribution of the AO effect. 5. Connect the output of ColorRamp to the Factor input of the MixRGB node for more refined color blending.
- Finally, connect and adjust the colors:
- In the MixRGB node, set two colors to control the AO effect. Typically, you would choose a light color for the base and a darker color for the occluded areas. 2. Connect the output of the MixRGB node to the Base Color input of the Principled BSDF shader, completing the setup and allowing you to see the AO effect in your material.
Note
This might be useful in a project such as designing the interior of a rustic cabin, where you want to give attention to the texture of wooden beams and stone flooring. By applying the AO pass, you can highlight the natural shadows in the crevices between the wood planks and stones. Using the Gamma node can accentuate the warm, soft lighting more than AO on its own.
Whether you are working in Eevee or Cycles, without AO, your 3D scenes would look flat and less engaging. Now that ambient occlusion is ticked off the list, let’s zoom out and explore the rest of Blender’s shader node toolbox, the tricks that turn a plain material into something worth a double-take.
Introducing Blender’s shader nodes
Section titled “Introducing Blender’s shader nodes”Blender’s node system for shader nodes is as close to programming as you are going to get as a 3D modeler. You will need to pay attention to detail since tweaking the most inconspicuous value can make a huge difference in how your material will look.
Table 13.4 tells you a bit more about each shader node, and why and when to use it:
| Shader node | Properties and uses | Example Blender project |
|---|---|---|
| Add Shader | Combines two shaders, useful for adding emission to existing materials | A neon sign glowing in a cityscape |
| Add Shader | Simulates materials with anisotropic reflections, such as brushed metal | A futuristic car with brushed metal surfaces |
| Diffuse BSDF | Basic diffuse shader, representing matte surfaces | A cozy living room with matte-painted walls |
| Emission | Makes objects emit light, used for creating light sources | A scene with glowing lanterns in a garden |
| Glass BSDF | Creates transparent materials with reflective properties, such as glass | A glass vase with flowers on a table |
| Hair BSDF | A specialized shader for rendering hair and fur | A character with detailed, realistic hair |
| Holdout | Creates a transparent hole in the final render, used for masking | A scene with a character in front of a green screen |
| Mix Shader | Blends two shaders based on a factor, useful for mixing different material properties | A marble statue with a mix of glossy and rough areas |
| Principled BSDF | A versatile shader combining multiple properties, suitable for most materials | A photorealistic wooden table with various textures |
| Principled Hair BSDF | An advanced shader for rendering hair with realistic properties | A lion with a detailed mane |
| Principled Volume | Creates volumetric materials for effects such as smoke, fog, and fire | A smoky forest with volumetric lighting effects |
| Refraction BSDF | Simulates the bending of light through transparent materials, such as water or glass | An underwater scene with realistic light refraction |
| Subsurface Scattering | Simulates light scattering within materials, used for skin, wax, and other translucent objects | A close-up of a human face with realistic skin rendering |
| Toon BSDF | Creates a cartoon-like shading effect, used for stylized renders | A colorful animated scene with cartoon characters |
| Translucent BSDF | Allows light to pass through the material, creating a soft, glowing effect | A scene with frosted glass windows |
| Transparent BSDF | Makes objects completely transparent, often used for alpha masks | A butterfly with transparent wings |
| Volume Absorption | Creates a volumetric effect that absorbs light, used for effects such as murky water or fog | A dark, foggy forest scene |
| Volume Scatter | Simulates light scattering within a volume, used for effects such as mist and atmospheric lighting | A forest with volumetric mist and god rays |
Table 13.4: An overview of shader nodes in Blender
Note
Some legacy shaders (e.g., Glossy and Diffuse) were rolled into Principled in Blender 4.0+. For historical nodes, see the official docs (https://docs.blender.org/manual/en/latest/render/shader_nodes/index.html).
You can use a Principled BSDF shader node to create the surface material for a dragon. By simply adjusting the Roughness value within the same node setup, you can dramatically alter the appearance of the dragon’s scales. With a low Roughness value, the scales appear shiny and reflective, like a freshly molted dragon basking in sunlight (Figure 13.18).

Figure 13.18: Dragon with shiny and reflective scales based on a low Roughness value (left) and a high Roughness value (right)
On the other hand, increasing the Roughness value gives the scales a matte, rugged look.
As you have seen, this subtle change in the Roughness value on an otherwise identical node setup completely transforms the narrative and visual impact of the dragon in your scene.
In Table 13.5, you can compare the important parts of Blender’s node system. This will help you understand how to use it, step by step, through practicing the different projects discussed in this chapter.
| Node | Function | Project example |
|---|---|---|
| Ambient Occlusion node | Generates Ambient Occlusion as color or black-and-white data. Controls include samples, inside, only local, color, distance, and normal input. Note that in Cycles, it works automatically, but in Eevee, you need to enable ambient occlusion in render settings. | Can bring attention to the crevices between stones and rubble in ancient ruins |
| Attribute node | A testing node for developers to use attributes such as Normal, vertex colors, and UV maps. Outputs color, vector, or black-and-white data based on the attribute name. | A custom character model where vertex colors define different zones for makeup or tattoos |
| Camera Data node | Provides data based on the camera’s position and view. Includes view vector, view Z depth, view distance, and Fresnel outputs (the Fresnel node in Blender is a function used within the shading system to simulate the way light reflects off surfaces at different angles). | Creating a depth-of-field effect in a camera fly-through animation of a forest, where the focus point changes depending on the camera’s distance from objects |
| Geometry node | Offers various outputs such as position, normal, true normal, back facing, and hair info. Geometry nodes are useful for accessing different aspects of an object’s geometry (we will discuss geometry nodes fully in Part 5, Geometry Nodes in Blender). | Simulating realistic snowfall and icicle formation on different objects |
| Layer Weight node | Similar to Fresnel but with more options, such as facing output and linear falloff. Useful for mixing materials based on the angle of view. | Designing a car paint material that shifts color based on the viewing angle, like a pearlescent finish. |
| Light Path node | Provides information about the light’s interaction with surfaces. Outputs include camera ray, shadow ray, diffuse ray, glossy ray, reflection ray, transmission ray, ray length, and ray depth. | A magical orb that glows differently when viewed directly versus when seen in reflections or shadows |
| Object Info node | Gives information about the object, such as location, color, object index, material index, and random value. Useful for randomizing aspects of materials for multiple similar objects in the same scene. | Randomizing the color of leaves in a forest scene |
| Particle Info node | Provides data about particles such as index, random, age, lifetime, location, size, and velocity. Your go-to node for creating particle-based materials. | Creating a firework simulator where each particle displays different colors and sizes based on how long ago each particle started firing |
| RGB node | Outputs a color value chosen from a color wheel. | Designing a simple material for a cartoon sun, where the RGB node provides the base color for the Emission shader, making it brightly glow |
| Tangent node | Creates a custom tangent for Anisotropic BSDF. Allows control over how light is bent around a point. | A metallic vase with an anisotropic finish, where the custom tangent controls the direction of light streaks, as with brushed metal |
| Texture Coordinate node | Defines where a texture should be placed on an object. Outputs include generated normal, UV, object, window, reflection, and UV Map. | Mapping a decal onto a racing car model, using UV coordinates to place the decal without affecting the paint material underneath |
| Value node | Outputs a single value. | Controlling the intensity of a lamp in an interior design project based on the time of day |
| Wireframe node | Provides the wireframe of an object. Allows control over the size of the wireframe on the object. | Creating a holographic display effect with a Wireframe node outlines objects in a sci-fi room |
| Material Output node | This is the end product of all other nodes in a material setup. Includes surface, volume, and displacement inputs. | Compiling a complex shader for a dragon’s skin that combines Subsurface Scattering, Glossy Reflection, and detailed textures for a single material |
| Texture nodes | Include Brick Texture, Checker Texture, Environment Texture, Gradient Texture, IES Texture, Image Texture, Magic Texture, Musgrave Texture, Noise Texture, Sky Texture, Voronoi Texture, and Wave Texture. These nodes are used to create various textures and patterns on materials. | Making a procedurally generated alien landscape, using various texture nodes to create the terrain, sky, and vegetation patterns |
| Color nodes | Include Brightness / Contrast, Gamma, HSV, Invert, Mix RGB, Light Falloff, and RGB Curves. Used for color correction and manipulation of materials. | Post-processing a rendered scene to adjust the mood, using color nodes for correction and effects, such as making a sunset scene feel warmer |
| Vector nodes | Include Bump, Vector Curves, Displacement, and Mapping. Used for manipulating vectors and normals in materials. | Simulating wind affecting a field of grass, using Vector nodes to manipulate the direction and strength of the grass movement |
| Converter nodes | Include Blackbody, Clamp, Color Ramp, Separate / Combine RGB, Separate / Combine XYZ, Separate / Combine HSV, Map Range, Math, RGB to Black and White, and Wavelength. Convert one type of data to another, such as color to black and white or temperature to color. | Using a Blackbody node to convert temperature values into color to show heat distribution in a 3D model |
| Script nodes | Used for custom Open Shading Language (OSL) node-based shader setup | Creating a custom glass shader that simulates realistic relationships with light |
Table 13.5: Important nodes and their functions
Understanding the function of these nodes and how they interact with each other is what will make or break your material creation in Blender. This overview did not cover everything, but it prepared you for what we will do next: displacement mapping.
Understanding and using displacement in Blender Shaders
Section titled “Understanding and using displacement in Blender Shaders”Displacement mapping can help you add intricate detail and texture to 3D models. It physically alters the geometry of 3D models based on a texture. Displacement is good for creating realistic surfaces, but the process of displacement is different depending on which Blender rendering engine you use.
Tip
For both Cycles and Eevee, using high-resolution textures for displacement maps ensures more detail and a more realistic effect. If your project requires rendering in both Cycles and Eevee, test your displacement setups in both engines to ensure consistency in the look and feel of your materials.
Displacement in Cycles
Section titled “Displacement in Cycles”Cycles is a ray-tracing render engine, so it offers more advanced and realistic Displacement options. Think of it like adding real-life bumps and grooves to objects so they look more natural.
You would want to use Cycles for projects where you need things to look super detailed and realistic, such as a picture of a house that shows all the textures of the walls and floors, or a close-up of a rock where you can see every little crack and crevice. This is because Cycles can make these tiny details on the surface of objects, which helps make your 3D models look like they could exist in the real world.
Note
Displacement, especially true displacement in Cycles, can be resource-intensive. Only use Displacement if it is necessary, and balance your texture resolutions with performance needs.
In Cycles, displacement is typically set up using the Displacement node in the Shader Editor. This node is connected to the Displacement input of the Material Output node. The Displacement effect is driven by a texture, often a black-and-white image, where the white areas represent higher points, and the black areas represent lower points, as shown in Figure 13.19.

Figure 13.19: Displacement effect in action, white vs. black areas
Cyclessupports two types of displacement. First, you have Bump, which is a simulation of Displacement and does not alter the actual geometry. The other type of displacement available in Blender is true or actual displacement, which physically modifies the mesh by offsetting vertices.
Note
True displacement requires a highly subdivided mesh to work effectively. This can be done using the Subdivision Surface modifier. If you are on a shiny-new build, you do not have to dive into the experimental rabbit anymore. Just drop a Subdivision Surface modifier on your mesh, tick Adaptive Subdivision, and Cycles will now slice the geometry on the fly based on camera distance and Dicing scale. From there, you can change the Dicing scale, but it bricks and crashes pretty easily if you go below 1. The end result is a crisper displacement in the close-ups, saner poly counts in the distance, and a GPU that doesn’t wheeze like an asthmatic badger.
In Blender’s Material settings, under the Settings tab, you can find the Displacement method, where you can choose between Bump Only, Displacement Only, or Displacement and Bump.
Tip
For true displacement, choose Displacement Only or Displacement and Bump.
Displacement in Eevee
Section titled “Displacement in Eevee”Eevee is a real-time render engine. It does not support true displacement in the same way as Cycles. While earlier versions did not support true displacement, Eevee 4.2 LTS now includes limited real-time displacement capabilities. However, this feature still requires an extremely high poly count to produce meaningful results and may not be practical for most workflows because of how performance-heavy it is.
As a result, Eevee relies on Bump mapping and Parallax mapping to simulate the effect of Displacement without changing the actual geometry. These techniques are much faster and better suited for development or animation previews.
Bump mapping changes the way light interacts with the surface to create the illusion of bumps and dents. Parallax mapping shifts the texture’s appearance as you move around it, simulating depth without actually modifying the model’s surface. These methods allow Eevee to simulate the look of detailed textures quickly. For example, if you are creating a forest scene for a game, the way that Eevee uses Bump and Parallax mapping can quickly give the ground and tree bark textures a realistic look of depth and complexity. This will help your game run smoothly on various devices without needing heavy computational power to render true geometric changes.
To set up Bump mapping in Eevee, you can use a texture connected to a Bump node, which then connects to the Normal input of the shader, such as Principled BSDF. Using this method will give you the appearance of depth by changing the light’s behavior. This technique can make the stones and bricks of the castle walls appear rough and weathered, and this would be great for scenes where the camera pans or zooms over the castle walls.
Tip
For a more enhanced Displacement effect in Eevee, Parallax mapping can be used. This technique uses a grayscale height map to create an illusion of depth by shifting textures based on the viewer’s angle. One of the drawbacks of Parallax mapping is that it needs more complex node setups and is more resource-intensive.
By understanding and using Displacement mapping in Blender, you can boost the realism and detail of your 3D models. As you found out, you can choose Cycles for true geometric displacement or Eevee for simulated effects. Either way, displacement is essential if you want to create lifelike materials. Despite its benefits, Displacement mapping can sometimes be too resource-intensive for real-time rendering, such as in games. This is where the next step in our exploration comes into play: shader baking in Blender.
Familiarizing yourself with shader baking in Blender
Section titled “Familiarizing yourself with shader baking in Blender”Shader baking converts the visual information of a shader, such as colors, textures, and lighting effects, into a flat image texture. You want to do that if you are optimizing 3D models for video games or interactive simulations, where you need to keep your computer from overstraining itself. The process of baking is like taking a photo of all the fancy effects (such as colors, textures, and how light bounces off things) on a 3D model and sticking that photo onto the model. This is super helpful when you are making things for video games or virtual reality, where you cannot use a lot of computer power. By baking, you make everything look good without making the computer work too hard every time the game is played, keeping things running smoothly while still looking great.
I will guide you through the entire process of preparing your 3D model, setting up and creating your shaders, and then baking them into a single, easy-to-use texture. Here is how to get started:
- First, prepare your 3D model:
- Make sure your model is properly UV unwrapped. UV unwrapping is the process of projecting your 3D model onto a 2D plane to apply textures accurately. 2. If necessary, subdivide the model to add more geometry for finer details.
- Next, in the Shading workspace, create your desired material using Blender’s shader nodes. This could be a combination of various textures, colors, and procedural effects.
- Now, set up your shader for baking:
- Switch to the Cycles render engine.
Note
Cycles offers more comprehensive baking options compared to Eevee.
- In the Shader Editor, add an Image Texture node to your material. Do not connect this node to the shader; it will serve as the target for the baked texture.
- Create a new image in the Image Texture node. This image will store your baked texture. Set the resolution (e.g.,
2048x2048pixels) according to your needs. - Then, bake the shader:
- Go to the Render Properties panel and find the Bake section. 2. Choose the bake type that corresponds to the information you want to capture (e.g., Diffuse, Glossy, or Normal). 3. For the Selected to Active option, ensure only the object with the shader you want to bake is selected. 4. Click Bake. Blender will render the shader information onto the image texture you created.
- Once baking is complete, save the image texture. Go to the Image Editor, select the baked image, and use Image and Save As.
- You can now use this baked texture in a new material setup. Simply add the saved image texture to a Principled BSDF shader, connecting it to the appropriate inputs (e.g., Base Color or Normal). If you want to avoid baking lighting information into your textures, make sure to disable Direct and Indirect lighting contributions in the Bake settings, especially when baking Diffuse. This gives you clean, lighting-agnostic maps that are easier to reuse across different lighting setups.
You can now bake shaders in Blender, transforming complex materials into lightweight, versatile textures. In short, it is a two-for-one win: your mesh stays lean enough to keep frame rates happy, but it still has the look!
Summary
Section titled “Summary”This chapter brought the art of shading into the spotlight. We started off getting comfy with Blender’s controls, kind of like finding the right seat in an art class. Then, we covered the basics, understanding how shaders are your digital paints and brushes. Through hands-on project examples, you have seen how to apply materials, use the Principled BSDF shader, and harness the power of nodes to create complex, lifelike textures. Put simply, shading lets you dictate how models reflect light, appear wet or metallic, and even how translucent they seem.
Imagine we went on a treasure hunt together, looking for the secrets to make our 3D models come to life. We learned how to mimic the way light plays on different materials, making them look real enough to touch. It was like discovering the right shade of blue for a sunny sky or the perfect texture for an old brick wall. And with PBR materials, it was as if we found a whole new set of high-quality paints that make everything look even more real.
Now that Chapter 13 is finished, it is time to roll up our sleeves for Chapter 14. Imagine you are making a custom-fit suit. In 3D modeling, we use seams to tell Blender how to unfold our model into a flat image for texturing. Chapter 14 is your friendly guide on this journey, showing you the ropes, from marking those seams correctly so your model lays out flat like a well-pressed shirt, to using sharps to keep those edges as crisp as a fresh dollar bill. Whether you’re a Blender newbie or just looking to brush up on your skills, these techniques will help take your models from “good” to “wow.”
Further reading
Section titled “Further reading”- If you are aiming to break into photorealism in Cycles, reach for Photorealistic Materials and Textures in Blender Cycles (https://www.amazon.com/Photorealistic-Materials-Textures-Blender-Cycles/dp/1805129635).
- If you want a full bake-to-paint workflow that bounces between Blender and Substance, dive into Substance Painter Beginner’s Guide to Game Texturing (https://www.udemy.com/course/substance-painter-beginners-guide-to-game-texturing/?referralCode=861FE7C558A5F530D284). You will see every step: baking, layering smart materials, and piping the finished maps back into Blender for final-look dev.
- If you need to manage dozens of shared materials in a production-scale scene, tackle Master Blender 3D with Wild West Environments (https://www.udemy.com/course/master-blender-3d-with-wild-west-environments/?referralCode=3C8C3D3700AC8174742B). It shows how trim-sheet-driven node groups keep GPU memory low while texturing entire towns.
- If you are ready to master metallic, glossy, and specular cheats on smaller props, try Blender Beginner’s Bootcamp (https://www.udemy.com/course/blender-beginners-bootcamp/?referralCode=1FEDE1307FCB6BBE265F).
- If your goal is rock-solid texture scale, normal map fixes, and mapping node tricks for large environments, try Blender 4: The Ultimate Environment Artist’s Guide (https://www.udemy.com/course/blender-4-the-ultimate-environment-artists-guide/?referralCode=FF4B83F7AB5B90390273).