PDA

View Full Version : Mask Texture



trkpower
06-21-2013, 08:11 AM
Hello,

I am trying to to create a texture that will act like a mask in order to change the way it is displayed.
The mask texture would be like this:
i469.photobucket.com/albums/rr59/trkpower/mask3.png
The texture:
i469.photobucket.com/albums/rr59/trkpower/original.png
The final result:
i469.photobucket.com/albums/rr59/trkpower/final.png

How can i achieve this result?
Thanks.

uwi2k2
06-21-2013, 11:01 AM
hi,

there are multiple ways to do this.
the best i can think of right now, is to pass both textures to a shader and only use the color of main texture where the mask texture is black.
but i guess you are not familar with shaders ... otherwise you won´t have asked, right ?

guess you like to do something like this:
1058

cu
uwi

trkpower
06-24-2013, 01:12 AM
Hi,
Unfortunately i'm not familiar with shaders...