Quantize node
Access: Nodes > Math > Quantize
Reduces the input to a fixed number of discrete steps, like a posterize effect applied per channel. At Levels = 2 you get a hard black-and-white threshold; at Levels = 8 you get 8 bands. Very useful for cel/toon shading and debugging gradient flows.
Reduces the input to a fixed number of discrete steps; a per-channel posterize effect.
| Input (RGB) | Output (RGB) |
| 0.1, 0.1, 0.1 | 0.0, 0.0, 0.0 |
| 0.5, 0.5, 0.5 | 0.5, 0.5, 0.5 |
| 0.73, 0.73, 0.73 | 0.625, 0.625, 0.625 |
Quantize node inputs
|
Input |
The continuous input gradient to be posterized into discrete levels. |
Quantize node outputs
|
Output |
The input value rounded down to the nearest discrete step level N (N = Levels). |
Quantize parameters
|
Levels |
Defines the number of steps the Quantize node reduces the input by. |