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