Grayscale
Converts the input texture to grayscale using the luminance method, which is a weighted sum of the color channels.
Parameters
texture
Texture: The input texture to be filtered. Default: The entire canvas
texOffset
Vec2: The offset used for sampling neighboring pixels. Default: (1.0 / width, 1.0 / height)