Add the X.texture.grayscale flag to support 1 channel textures without overhead of mapping to RGBA.