Page 1 of 1

image sequence as alpha mask

Posted: 27 May 2014, 15:22
by mrp_d
Hello,

is it possible at all to use a image-sequence (e.g. PNG) as the alpha of an alpha-mask-node.

a still of the sequence as alpha works fine. the sequence as animated image-sequence works fine as well.


how should one connect the nodes to be able to use an animated image-sequence as an animated alpha-sequence for a texture on a rectagle?


many thanks!

Re: image sequence as alpha mask

Posted: 27 May 2014, 16:49
by mrp_d
The TextureMixer-Shader solves the question.

Re: image sequence as alpha mask

Posted: 29 May 2014, 20:33
by mrp_d
I wonder if it possible to create/compose the alpha for the Texture-Mixer-Shader.
Espacially combining greyscale+image and text would be great!

[AXIS] - [IMAGE] - [ALPHA] - [TEX MIX] - [RECT]

this [ALPHA]-node i want to compose

have tried RenderTarget and Hierarchy Container with no luck.


any help would be ver appreciated! :)



here is a test-project:
http://www.xup.to/dl,19250305/alphaText.zip/

Re: image sequence as alpha mask

Posted: 29 May 2014, 21:55
by mrp_d
Solution:

[IMAGE] - [RENDER TARGET TEXTURE] - [TEX MIX] - [RECT]

[RENDER TARGET] - [TEXT]
- [TEXTURE] - [RECT]

Re: image sequence as alpha mask

Posted: 02 Jun 2014, 15:39
by Götz_B
Hi,

the easiest way is to use an image sequenz that has an alpha channel. In other words do not use images that are black and white, but use images that are white and alpha/transparent. If you then blend the textures by arranging the nodes as you see in the screenshot, you get the result that i guess you want.

Regards,

Götz