// Color to grayscale float grayscale(vec4 color) { return dot(color.rgb, vec3(0.3, 0.56, 0.14)); }