see png alpha

Discussions regarding Materials, Material-Compounds or Shaders, etc.
clankill3r
Posts: 131
Joined: 21 Oct 2012, 15:36

see png alpha

Post by clankill3r » 24 May 2013, 11:39

I use a png as texture, now how can i see the alpha of the png?
Now it's just grey and black.

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 21 Jul 2010, 00:33
Skype: gustavoboehs

Re: see png alpha

Post by gustavoeb » 24 May 2013, 12:15

If you DONT want to use HQV double click your material node and under the "OpenGL" display tab select the "use alpha as mask option".

In the example below you see this working on a simple constant shader with a noIcon image, which has alpha...
You do not have the required permissions to view the files attached to this post.
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

clankill3r
Posts: 131
Joined: 21 Oct 2012, 15:36

Re: see png alpha

Post by clankill3r » 24 May 2013, 12:39

thanks! works like a champ!

clankill3r
Posts: 131
Joined: 21 Oct 2012, 15:36

Re: see png alpha

Post by clankill3r » 24 May 2013, 13:32

in the render it's black :(
Does anyone know how to render it out correct?

I use Arnold, but a solution for mental ray is aslo welcome.

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 21 Jul 2010, 00:33
Skype: gustavoboehs

Re: see png alpha

Post by gustavoeb » 24 May 2013, 18:31

Arnold doesnt have a transparency from alpha checkbox like regular SI shaders. Therefore you should create a new image (you can plug it to the same texture node) and enably "Alpha to RGB" option, than use that for opacity...
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

clankill3r
Posts: 131
Joined: 21 Oct 2012, 15:36

Re: see png alpha

Post by clankill3r » 24 May 2013, 18:34

thanks