I set up a sprite with no texture loaded, with just a filter applied which gives a gradient like this:
I am trying to apply this sprite to an image as a mask,