several videoplane and transparency

    Aug 06 2012 | 9:05 pm
    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 and jit.texture dissapear?
    Im a bit counfused about this transparency thing ,,,

    • Aug 07 2012 | 4:27 pm
      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.
    • Aug 07 2012 | 8:58 pm
      thanks once again!!!