Colorize
Map brightness of a pixel to a color from a gradient.
Node Data | |
|---|---|
Display name | |
Colorize | |
Internal name | |
Node_Colorize | |
Inheritances | |
| Node_Processor | |
| Node_Colorize | |
Inputs | |
toggle |
Channel |
Surfaces | |
surface |
Surface In |
surface |
Mask |
slider |
Mix |
Input | |
range |
Color Range |
Colorize | |
gradient |
Gradient |
slider |
Gradient Shift |
enum |
Overflow |
Rendering | |
bool |
Multiply Alpha |
bool |
Keep Alpha |
Outputs | |
surface |
Surface Out |
Attributes | |
| Color Depth | |

Colorize node is a main method of coloring black and white image. It map the brightness of a pixel to a color in the gradient.

Properties
Gradient
Gradient to map the surface.
Gradient Shift
Shift the gradient by a fix amount.
Multiply Alpha
Multiply alpha value to the brightness calculation.
Commit History
| 1.21.4.004 |
|
|---|---|
| 1.21.3.007 |
|
Related Links
- Base Code: /scripts/node_colorize/node_colorize.gml
- Shader [sh_colorize]: /shaders/sh_colorize/sh_colorize.fsh



































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































