Average
Average color of every pixels in the image.
Node Data | |
|---|---|
Display name | |
Average | |
Internal name | |
Node_Average | |
Inheritances | |
| Node_Processor | |
| Node_Average | |
Inputs | |
Node_Average | |
toggle |
Channel |
surface |
Surface In |
surface |
Mask |
slider |
Mix |
Outputs | |
Node_Average | |
surface |
Surface Out |
color |
Color |
Attributes | |
| Color Depth | |

Average node extracts all color from the surface and calculate average color from it.
The node has 2 outputs.
Outputs
Surface Out
Output a surface of the equal dimension with a single solid color.
Color
The averaged color as a color data.
Related Links
- Base Code: /scripts/node_average/node_average.gml
- Shader [sh_average]: /shaders/sh_average/sh_average.fsh