Sub topic 1
What a Procedural Material Is and How the Node Graph Evaluates
A procedural material generates its appearance from calculations instead of reading a fixed image file. The material can calculate a colour, roughness value, or surface height for every point that Blender shades. This makes the pattern editable, repeatable, and able to cover objects of different sizes without painting a texture image.
This chapter assumes you already know how to open Blender's Shader Editor and connect nodes. The focus here is the evaluation model: how coordinates become values, how values pass through nodes, and how the final shader uses them.
Prerequisites
You should understand:
- Basic Blender navigation and the Shader Editor.
- The idea that a material is a graph of connected nodes.
- The main inputs of the Principled BSDF shader.
- The difference between UV coordinates and three-dimensional coordinates.
The material graph as a calculation
A shader node graph is a directed network. A node receives inputs, performs an operation, and sends outputs to another node. The links show the direction of data flow.
For a simple procedural material, the sequence might be:
- Read a coordinate for the shaded point.
- Transform that coordinate.
- Sample a procedural texture such as Noise Texture.
- Remap the resulting value with a Colour Ramp.
- Connect the result to Base Color on the Principled BSDF.
- Send the shader to the Material Output node.
The graph does not evaluate only once for the whole object. Blender evaluates it for many shading points across the visible surface. At each point, the coordinate changes, so the procedural texture produces a different result.
Values, colours, and vectors
Nodes exchange different kinds of data. A value is one number, such as 0.25. A colour contains red, green, and blue components. A vector contains three related numbers and commonly represents a position or direction.
The Noise Texture node accepts a vector as its coordinate and produces several outputs. Its Fac output is a single grey value, usually between 0 and 1. Its Color output converts the procedural result into a colour. A Colour Ramp can accept the Fac value and map it to chosen colours.
| Data type | Example | Common use |
|---|---|---|
| Value | `0.25` | Roughness, mask strength, threshold |
| Colour | Brown or tan | Base Color, emission colour |
| Vector | `(1.0, 0.5, 0.0)` | Texture position, direction, normal |
Blender often converts compatible data automatically. For example, a grey value connected to Base Color becomes a grey colour. However, automatic conversion does not guarantee the result you want. A value connected to Roughness controls one scalar property, while the same value connected to Base Color creates a grayscale pattern.
A first procedural example
Create a material with Texture Coordinate, Mapping, Noise Texture, Colour Ramp, Principled BSDF, and Material Output nodes. Connect Object coordinates to Mapping, Mapping to Noise Texture, Noise Fac to the ramp's Fac input, and the ramp's Color to Base Color.
Set the Noise Scale to about 5. Place a dark brown colour at the left ramp stop and a light tan colour at the right stop. The noise value now selects colours between those stops. Areas with lower noise values become darker, and areas with higher values become lighter.
The Principled BSDF combines this colour with lighting, viewing angle, and other surface properties. The Base Color does not describe the final pixels by itself. It is one input to the physically based shading calculation.
Reading evaluation problems
When a graph produces an unexpected result, trace it from left to right. First check whether the coordinate output is connected. Then inspect the Mapping scale and the procedural texture settings. Finally, check the ramp positions and the Principled BSDF input receiving the result.
A disconnected input uses its default value. A missing coordinate link can therefore make a texture appear uniform. A very high texture scale can make details too small to see, while a very low scale can make the object appear almost one solid colour.
Exercise
Why does the same Noise Texture node produce different colours at different points on one object?
Show answer
Blender evaluates the node for each shaded point. Each point has a different coordinate, so the Noise Texture returns a different value, which the Colour Ramp maps to a different colour.