Basically, I'm trying to get rid of this issue I have with my shaders that are supposed to draw outside of a Sprite's texture, like outlines, glow etc.
My only somewhat working attempt so far has been to extend the Sprite's vertices and then scaling down the UV in the fragment shader, successfully leaving me with extra pixels around the Sprite for my shaders to write to.
My issue now is that pixels outside of a Texture's area are read as copies of the last pixel row/column, leaving me with this:
Is there a way to fix this or make the shader read all those pixels as fully transparent? Changing the Repeat flag on image import can change those rows to be repetitions of the sprite, but there's no option to paint the area outside of the texture as transparent.
If anyone knows another way to fix this issue (that isn't giving every image file 20 pixels of transparent edges), I'd be all ears as well. More interested in getting it working than making my code work.