several videoplane and transparency
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 ,,,
thanks
you want to capture with a gl.node and set it's @erase_color alpha value to 0.
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.
thanks once again!!!