Sub topic 6
The Colour Ramp Node: Stops, Interpolation, and Colour Output
The Colour Ramp node remaps a value into a colour. It is commonly placed after a Noise Texture or Voronoi Texture. The texture provides a factor, usually a greyscale value from 0 to 1. The ramp decides which colour that value produces.
This chapter assumes that you can use Blender’s Shader Editor, understand connected shader nodes, and recognize the main inputs on a Principled BSDF node.
How a Colour Ramp evaluates values
A Colour Ramp has a Fac input and a Color output. Fac means factor: a number that selects a position along the ramp.
A factor of 0 uses the leftmost colour stop. A factor of 1 uses the rightmost stop. Values between stops are calculated according to the selected interpolation mode.
For example, connect a Noise Texture’s Fac output to the ramp’s Fac input:
- Add a Noise Texture node.
- Add a Colour Ramp node.
- Connect Noise Texture Fac to Colour Ramp Fac.
- Connect Colour Ramp Color to Principled BSDF Base Color.
- Adjust the ramp stops while viewing the material on an object.
The noise remains a numerical pattern until the ramp converts it into visible colours.
Stops and their positions
A stop is a colour marker on the ramp. Each stop has a position between 0 and 1 and a colour. The default ramp has two stops:
- The left stop controls low input values.
- The right stop controls high input values.
- Moving a stop changes where its colour begins.
- Adding a stop lets you introduce another colour or a sharper transition.
Suppose you want a simple rock material. Set the left stop to dark brown and the right stop to light tan. A noise value near 0 becomes dark brown, while a value near 1 becomes tan.
To create a narrow vein or crack mask, place two stops close together. Set one stop to black and the other to white. The small distance between them makes the transition occur over a narrow range of texture values.
| Ramp arrangement | Typical result |
|---|---|
| Two widely separated stops | Smooth colour variation |
| Stops close together | High-contrast band or mask |
| Several earth-colour stops | Layered rock, soil, or rust appearance |
| Black and white stops | A mask for mixing or controlling an input |
Interpolation modes
Interpolation controls how the ramp changes between stops.
- Linear creates a steady transition.
- Ease creates a softer transition near each stop.
- Constant removes the transition and selects one stop until the next stop is reached.
- B-Spline and Cardinal produce smoother curved transitions, which can be useful for gradual colour changes.
Use Constant when you need a clean classification, such as separating low, medium, and high noise values. Use Linear or Ease for natural colour variation. A smooth interpolation can hide useful edges, while Constant can make unwanted bands if the input has limited precision.
> callout tip > A Colour Ramp does not create new texture detail. It remaps the values that it receives. If the input pattern is too large, stretched, or uniform, adjust the coordinate or texture nodes before adding more ramp stops. > ```
Using the ramp as a mask
The ramp’s Color output can control more than Base Color. A black-and-white ramp can act as a mask:
- Connect it to Roughness to make selected areas rougher.
- Connect it to a Mix node to blend two materials.
- Connect it to a Bump node’s Height input to create raised or recessed regions.
- Connect it to a Displacement input when the object and render settings support true displacement.
For a mask, use black for zero influence and white for full influence. Move the stops to control the threshold. A black stop at 0.45 and a white stop at 0.55 creates a narrow transition around that value. Moving both stops together changes the selected range without changing the overall edge width.
Exercise
Exercise
A Noise Texture drives a Colour Ramp, but the material looks almost one solid colour. Which ramp change can increase contrast without changing the Noise Texture?
Show answer
Move the colour stops closer together, or choose Constant interpolation for a sharper threshold. This remaps the existing values into a stronger visible separation.