Page 1 of 1

using a png file with transparency?

Posted: Fri Feb 05, 2016 8:33 am
by Jorgensen
hi

properbly a noob question, but i'm having some problems using a png with alpha map.

i have saved an image as png, with a transparent background and loaded it as a texture, but the transparency does not work.

do i need to use a separate file containing the alpha maps for it to work?

thanks :-)

jorgensen

Re: using a png file with transparency?

Posted: Fri Feb 05, 2016 10:13 am
by WhaleHunter
Noob away...

If you want to access the alpha of a texture, you need to use an alpha image map type rather than rgb texture or greyscale texture.

Re: using a png file with transparency?

Posted: Fri Feb 05, 2016 10:19 am
by Jorgensen
hi whalehunter

thanks for your feedback.

so i should be able to select an "alpha image", in the diffuse, and then select the png file with transparent background?

i have tried that, but it still wont work :-/

i know i can add a image in the opacity node, but hten i have to images i need to scale / move :-/

Re: using a png file with transparency?

Posted: Fri Feb 05, 2016 3:28 pm
by profbetis
Yes you need to plug in the AlphaImage map to the opacity map. Here's the trick, go back to your diffuse texture and copy the Trasform and/or UV Projection map and Paste as an INSTANCE to your new alpha texture. It will make sure they they always stay in sync if either changes.

Re: using a png file with transparency?

Posted: Fri Feb 05, 2016 4:00 pm
by Jorgensen
hi profbetis

oh man, never thought of that. thanks for the tip, you really made my day.

always nice to learn something new.

jorgensen