Forum

Render to texture with alpha?

Hi all!

I’m getting very crazy trying to blend two videos… I tryed all with no results… I just want to put one video over another using the alpha chanel. Does somebody have any example about that?

I did a very easy example of the problem. I think I’m doing something wrong because when I do Dx9Texture I can’t use alpha = 0.

here is the example. Any help will be greatly appreciated!!
Thanks a lot!
j


(use the second one)

Blending.rar (10.9 kB)

there is a ‘Format’ pin on the DX9Texture (EX9.Texture) , i think that explicitly setting it to a format containing an alpha channel (e.g. A8R8G8B8) will allow for that.

hey!!

thanks a lot!! finally it works!! :D