Blend mode with geometry

Yoann's icon

Hi,
I want to blend 2 videoplanes like in a photoshop "darken" mode.
Is there a way to do that ? I'm confused about the "blend_mode attributes...
Actually my goal is to do that this instances of jit.gl.multiple: black shapes on white background blending together to add all the black pixels.
Here is a patch to illustrate (with videoplanes)

Thanks

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


Jean-Francois Charles's icon

For videoplanes, you could use a darken compositing shader. From the gl.slab help file, choose darken in the menu...

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

Yoann's icon

Thank you Jean-Francois but it's not what I want to do.
I want to blend 2 videoplanes (actually gridshapes) not 2 videos into one videoplane.
Like this patch, but in "darken" and not "add"

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