Grayscale

Converts the input texture to grayscale using the luminance method, which is a weighted sum of the color channels.

Parameters

tex0 Texture: The input texture to be filtered. Default: The entire canvas

Example Parameters

// None required