glsl-luma

Get the luma (brightness) of an RGB color in GLSL. Useful for converting images to greyscale