Hey guys, I've trawled through google, here and the github repo but couldn't find a good way to perform an inverse mask. I need the mask to be applied on every rAF, so generating a new canvas and re-uploading the texture to the GPU and rendering is going to be to expensive I think.
I've read that this is very easy to do in WebGL, but I would like to keep canvas fallback if possible.
I already have a mask texture that I want to apply, but obviously it's being used as a normal mask. Are there any good performant solutions for this?