I have 2 textures, one is a painting and another is a black and white image that must work as a mask.
In a nutshell, I want to be able to "subtract" those textures, so that the paiting becomes transparent where the mask is black and keep the same color where the mask is white.
The paiting and the mask don't have the same dimensions, but they are both square-like.
How can I do this efficiently?