Quantization
Reduces the number of colors in an image through quantization.
Parameters
texture Texture: The input texture to be filtered. Default: The entire canvas
resolution Vec2: The resolution of the input texture. Default: vec2(1.0)
shades Int: Number of shades to quantize the colors to. Default: 4.0