Dither
Reduce color and use dithering to preserve original color.
Node Data | |
|---|---|
Display name | |
Dither | |
Internal name | |
Node_Dither | |
Inheritances | |
| Node_Processor | |
| Node_Dither | |
Inputs | |
toggle |
Channel |
Surfaces | |
surface |
Surface In |
surface |
Mask |
slider |
Mix |
Pattern | |
enum |
Map Mode |
enum |
Pattern |
surface |
Dither Map |
matrix |
Dither Matrix |
vec2 |
Dither Scale |
bool |
Invert |
Dither | |
enum |
Mode |
slider |
Contrast |
Colors | |
enum |
Color Type |
islider |
Steps |
islider |
R Steps |
islider |
G Steps |
islider |
B Steps |
palette |
Palette |
Outputs | |
surface |
Surface Out |
Attributes | |
| Color Depth | |

Dither node apply dithering effect to convert smooth gradient of colors into a patterns of discrete colors.

Properties
Mode
Control whether to dither color (RGB channel) or the alpha channel.
Pattern
Dither pattern, or use a custom surface as a pattern.
Contrast
The sharpness of the transition.
Contrast Map
Additional surface use to control contrast per pixel.
Commit History
| 1.21.6.004 |
|
|---|---|
| 1.21.5 |
|
| 1.21.0.2.007 |
|
| 1.20.9.012 |
|
Related Links
- Base Code: /scripts/node_dither/node_dither.gml
- Shader [sh_dither]: /shaders/sh_dither/sh_dither.fsh