Grey to Alpha
Convert greyscale to alpha value.
Node Data | |
|---|---|
Display name | |
Grey to Alpha | |
Internal name | |
Node_Grey_Alpha | |
Inheritances | |
| Node_Processor | |
| Node_Grey_Alpha | |
Inputs | |
surface |
Surface In |
curve |
Curve |
bool |
Invert |
color |
Color |
bool |
Replace Color |
Outputs | |
surface |
Surface Out |
Attributes | |
| Color Depth | |

Grey to alpha node, as the name suggest, convert greyness/brightness of a pixel in to alpha channel.

Properties
Replace Color
Replace the rgb channel to a solid color. Leaving only alpha channel modulated.
Related Links
- Base Code: /scripts/node_grey_alpha/node_grey_alpha.gml
- Shader [sh_grey_alpha]: /shaders/sh_grey_alpha/sh_grey_alpha.fsh