several videoplane and transparency

Per's icon

hi!

I have a question about transparency when using texture in opengl through videoplane. as in this case Im using several videoplanes. im trying to make the uppermost videoplane transparent so only the green dot is visual.

(you can see whats behind changing the layer from 2 to 0)

how can I make the background of the jit.gl.sketch and jit.texture dissapear?

Im a bit counfused about this transparency thing ,,,

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

thanks

Rob Ramirez's icon

you want to capture with a gl.node and set it's @erase_color alpha value to 0.

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

then, on your gl.videoplanes set @depth_enable 0, @blend_enable 1, and use the @layer attribute to control the draw order.
the key point of overlaying videoplanes (or any gl object) with transparency is to set @depth_enable 0 @blend_enable 1 and use @layer.

Per's icon

thanks once again!!!