I’m dealing with video transparencies. I have a couple of videos in mp4 formats. The first video contains color information, the second has the alpha channel mapped on gray scale. I would like to use the second video as an alpha mask for the first.
I wrote down this piece of code, taken from the forum, but it doesn’t work to me, it display the first video with no transparencies
ofBackground(255, 255, 255);
Drop.draw(100, 100, 200, 200);
DropMask.draw(100, 100, 200, 200);
Here is the project:
Any help ?
Thank you very much !!!