edgeblend + keystone

Guilherme Martins's icon

I am trying to add this cool features to a videoplayer, but I can only do one of them and not both.

As you can see on the player on the left, one can add fading gradients to all the edges.. the player on the right have the keystone feature.

Now, how can I integrate both features into the same output?

thnx

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

MJ's icon

put them in the same jit.gl.render

turn on blend_enanble

like this:

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

Guilherme Martins's icon

hello MJ, did you changed anything in your patch, it is very much like mine..

I understand that I need to put both gl.slab (for the edgeblend) and jit.matrix (for keystone) in chain on the same gl.render. I just can't figure out how..

thank you for helping me

MJ's icon

hmm it didnt copy paste right..

MJ's icon

here it is ..

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

Guilherme Martins's icon

cool!!
how can I still have the position and scale features?

thank you so much for helping!