Sub topic 4
The Noise Texture Node: Scale, Detail, Roughness, Distortion
This chapter assumes you can move around the Shader Editor and wire a Principled BSDF. It also assumes you have read the chapters on texture coordinates and the Mapping node. Here we look at what the Noise Texture node computes, what each of its sliders changes, and how to set it up for a target pattern. Values and property names are for Blender 4.x. Older versions differ, and the differences are noted below.
What the node produces
The Noise Texture node is a function. You give it a position in space, and it returns a smooth, pseudo-random value for that position. Nearby positions return similar values, so the result looks like soft clouds instead of static. The same position always returns the same value, so the pattern never flickers between frames.
The node has two outputs:
- Fac is a single grey value, usually between 0 and 1.
- Color is three separate noise values, sampled at different offsets, packed into red, green and blue. The channels are unrelated, so the output looks like coloured clouds.
Fac is what you feed into a Colour Ramp or a Roughness input. Color is mostly useful as a vector, for example to warp the coordinates of another texture. That use is covered in the warping chapter.
The processing steps
The inputs act in a fixed order. Knowing the order explains most surprises.
Scale
Scale multiplies the incoming coordinates before sampling. It is a frequency. Doubling it halves the size of every feature. The default is 5.
The coordinate space sets the unit. With Object coordinates on a 2 m cube, a Scale of 5 gives roughly five blobs per Blender unit. If you change the object's size and the pattern stays tied to the object, the space is likely Generated or UV. This is the same issue the Mapping node chapter covered.
Use Scale for the overall size of the pattern. If the Mapping node also scales, the two multiply. Pick one place to control size and leave the other at 1. Two places produce confusing results later when you tweak the material.
Detail
Detail controls how many layers of noise are added together. Each layer is called an octave. Detail 0 gives one smooth layer. Every whole step adds another layer at a higher frequency, and the fractional part fades the next layer in. Detail 2.5 therefore sits between detail 2 and detail 3. The maximum is 15.
Low detail gives soft, blurry clouds. High detail adds fine grit on top of the large shapes, which suits rock, soil and bark. Each extra octave costs one more noise evaluation per shading point, so detail 15 is much slower than detail 2. Beyond about 8 or 10, the added layers are smaller than a pixel at normal viewing distance and only cost render time.
Roughness
Roughness is how strong each new octave is compared with the one before it. Each layer's amplitude is multiplied by this value. The name is easy to confuse with the surface roughness input on the Principled BSDF, and the two are unrelated. This one only shapes the noise.
- At 0, only the first layer remains. Raising Detail then changes almost nothing.
- Around 0.5, the default, each layer has half the strength of the previous one. This gives a natural look.
- At 1, every layer is equally strong, so the fine detail competes with the large shapes. The pattern looks busy and grainy.
Roughness only matters when Detail is above 0. If you move Roughness and nothing changes, check Detail first.
Lacunarity
Lacunarity is how much the frequency grows from one octave to the next. The default of 2 means each layer has features half the size of the previous layer. Higher values make the fine layers much finer, so the spacing between scales widens. A value near 1 stacks layers of similar size, which looks lumpy and less natural. Most materials leave this at 2.
Distortion
Distortion shifts the lookup position by a noise value before the octaves are sampled. At 0 there is no shift. At small values, such as 0.2 to 0.5, the blobs get wobbly edges. At values of 1 or more, the pattern turns into swirls and streaks, which suits marble veins, smoke and wood grain.
Distortion is a cheap way to break up a pattern that looks too even. It does not add octaves, so it costs far less than raising Detail.
Parameter summary
| Input | Controls | Typical range | Effect of raising it |
|---|---|---|---|
| Scale | Feature size (frequency) | 1 to 50 | Smaller features |
| Detail | Number of octaves | 0 to 10 | More fine grit, slower |
| Roughness | Strength of finer octaves | 0.3 to 0.7 | Busier, less smooth |
| Lacunarity | Frequency step per octave | 1.5 to 3 | Finer, more separated layers |
| Distortion | Coordinate offset | 0 to 2 | Swirls and warped shapes |
Dimensions, type, and Normalize
The node has a few settings in its body that change the maths.
- Dimensions can be 1D, 2D, 3D or 4D. 3D is the default and the right choice for most materials, because a 3D vector input gives a pattern that has no seams on any surface. 4D adds a W input, and animating W makes the pattern evolve over time without moving across the surface. Lower dimensions are slightly cheaper but ignore some input axes. In 2D, for example, the Z coordinate has no effect.
- Type (Blender 4.0 and later) selects how octaves combine. fBM is the default and the plain sum described above. Ridged Multifractal, Hybrid Multifractal and Hetero Terrain give sharper ridges or terrain-like variation. The last three add Offset and Gain inputs. These inputs do nothing with fBM.
- Normalize (Blender 4.0 and later) rescales the output so it stays in the 0 to 1 range. Without it, high Detail can push values outside that range, and values above 1 or below 0 may be clipped by nodes downstream.
Reading the output values
Fac is not spread evenly between 0 and 1. For fBM, most values cluster around the middle, roughly between 0.3 and 0.7, and the extremes are rare. This matters when you connect a Colour Ramp. If the stops sit at 0 and 1, the ramp's end colours are rarely reached, and the result looks washed out. Moving the stops inward to about 0.35 and 0.65, as the example below does, uses the part of the range where the data actually is.
A worked example in Python
This script builds a material with an Object-space Noise Texture, a Mapping node, and a Colour Ramp that turns the grey values into a brown-to-tan Base Color. It matches a typical soil or dry-earth setup. Run it from the Scripting workspace.
import bpy
mat = bpy.data.materials.new("NoiseRamp")
mat.use_nodes = True
nodes = mat.node_tree.nodes
links = mat.node_tree.links
bsdf = nodes["Principled BSDF"]
coord = nodes.new("ShaderNodeTexCoord")
mapping = nodes.new("ShaderNodeMapping")
noise = nodes.new("ShaderNodeTexNoise")
noise.inputs["Scale"].default_value = 6.0
noise.inputs["Detail"].default_value = 8.0
noise.inputs["Roughness"].default_value = 0.6
ramp = nodes.new("ShaderNodeValToRGB")
cr = ramp.color_ramp
cr.interpolation = 'LINEAR'
cr.elements[0].position = 0.35
cr.elements[0].color = (0.05, 0.03, 0.02, 1.0)
cr.elements[1].position = 0.65
cr.elements[1].color = (0.6, 0.5, 0.4, 1.0)
links.new(coord.outputs["Object"], mapping.inputs["Vector"])
links.new(mapping.outputs["Vector"], noise.inputs["Vector"])
links.new(noise.outputs["Fac"], ramp.inputs["Fac"])
links.new(ramp.outputs["Color"], bsdf.inputs["Base Color"])Three of the settings are worth reading closely. Scale 6 sets the size of the blobs. Detail 8 and Roughness 0.6 give a gritty surface where fine layers are clearly visible but do not overwhelm the large shapes. The ramp's stops at 0.35 and 0.65 match the clustered Fac range described earlier. Lacunarity and Distortion are left at their defaults.
To assign the material to the selected object, add this line at the end:
bpy.context.object.data.materials.append(mat)Tuning workflow
A repeatable order saves time:
- Set the coordinate space and Mapping first, so the pattern sticks to the object correctly.
- Set Scale until the largest shapes are the right size.
- Raise Detail until the fine grit appears, then back it off one or two steps.
- Adjust Roughness to balance big shapes against fine ones.
- Add Distortion only if the result still looks too regular.
- Connect the Colour Ramp last, and place its stops around the values that actually occur.
To see the raw pattern while you tune, connect Fac to a Material Output through an Emission node, or use the Node Wrangler add-on's preview. Judging a pattern through lighting and a Principled BSDF hides its contrast.
Common mistakes
- Pattern looks stretched. The coordinates are probably Generated or UV on a non-uniform object. Switch to Object or fix the object's scale. Applying scale (Ctrl+A) often solves it.
- Detail changes nothing. Roughness is 0, or Detail was already past the point where octaves are smaller than a pixel.
- Ramp output is flat. The stops are outside the range where Fac has data. Move them toward the middle.
- Edges look hard where noise should be soft. The Colour Ramp's stops are too close together. That is a ramp issue, covered in the ramp chapters, not a noise one.
- Render is slow. Check Detail first, then 4D mode and the fancier types, and remove unused noise nodes.
Exercise
A Noise Texture has Scale 5, Detail 6 and Roughness 0. You raise Detail to 12, and the image looks identical. Why, and what would you change so that the higher Detail has a visible effect?
Show answer
With Roughness 0, each finer octave is multiplied by zero, so only the first layer contributes and extra octaves add nothing. Raise Roughness to something like 0.5. The fine layers then get a non-zero amplitude, and Detail starts to matter. Detail 12 is also expensive and usually unnecessary, so lower it again once the grit looks right.
Exercise
You feed Noise Fac straight into a Colour Ramp with stops at 0.0 (black) and 1.0 (white), and the result is a muddy mid-grey with little contrast. What is the cause, and how do you fix it?
Show answer
Fac values cluster around 0.3 to 0.7, so the ramp rarely reaches its end colours. Move the stops inward, for example to 0.35 and 0.65, so the common values map across the full colour range.