Hey, I am trying to implement your code in my game. How would I do that? I got a buggy sword on my screen for now.
I'm not sure, sorry. You'd have to implement the shader to draw onto a sprite which you'd save and use, the shader code is a bit incomprehensible though