image sequence as alpha mask

Q and A about functionality and how to solve a special task for your application.

image sequence as alpha mask

Postby mrp_d » 27 May 2014, 15:22

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!
mrp_d
 
Posts: 7
Joined: 05 Mar 2014, 20:50

Re: image sequence as alpha mask

Postby mrp_d » 27 May 2014, 16:49

The TextureMixer-Shader solves the question.
mrp_d
 
Posts: 7
Joined: 05 Mar 2014, 20:50

Re: image sequence as alpha mask

Postby mrp_d » 29 May 2014, 20:33

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/
mrp_d
 
Posts: 7
Joined: 05 Mar 2014, 20:50

Re: image sequence as alpha mask

Postby mrp_d » 29 May 2014, 21:55

Solution:

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

[RENDER TARGET] - [TEXT]
- [TEXTURE] - [RECT]
mrp_d
 
Posts: 7
Joined: 05 Mar 2014, 20:50

Re: image sequence as alpha mask

Postby Götz_B » 02 Jun 2014, 15:39

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
Attachments
screen.png
screen.png (8.65 KiB) Viewed 1536 times
User avatar
Götz_B
 
Posts: 166
Joined: 21 May 2013, 13:01


Return to How to...

cron