Drawing shapes on top of a video

Karim Samji's icon

Hi, I was trying to make it so that I have a video in the background and shapes were drawn on top of it. However, I can't seem to get the two to layer on top of eachother and instead they flicker between the two. I assume I have to use jit.alphablend but I'm not sure how to implement it.

Max Patch
Copy patch and select New From Clipboard in Max.

👽'tW∆s ∆lienz👽's icon

without going into details of how to remap for alpha channel(see jit.alphablend helpfile for that), might be easier to just try jit.op with multiply for the operator:

(that way you have more options: try subtraction, addition, etc. instead of multiply, see the helpfile for more - you can copy and paste the umenu from there for the full gamut)

Wil's icon

Here are some fun toys!