RGBA to Float - Arnold User Guide
Convert RGB color and alpha value to float.
Input
Input RGBA color.
Mode
Conversion mode:
- min: minimum of the color and alpha channels.
- max: maximum of the color and alpha channels.
- average: average of the color and alpha channels.
- sum: sum of the color and alpha channels.
- luminance: sRGB luminance mix, multiplied by alpha.