PBR and Shader with Alpha Channel

   7833   4   2
User Avatar
Member
217 posts
Joined: March 2006
Offline
Hi,
maybe this is a stupid question, but I cant find a shader where I can use a alpha Channel from a picture to make things transparent. I dive intro a “material shader builder” and can change the surface alpha to produce a alpha channel but I can't see objects behind. I've tried to add the picture to BSDF… but how?

Thanks
Detlef

Attachments:
PBR.jpg (89.6 KB)

User Avatar
Staff
2540 posts
Joined: July 2005
Offline
You need to modify opacity. Opacity is used for primary sample transparency.

Alpha is used in raytracing and also to dump out an alpha channel in the final rendered image.
There's at least one school like the old school!
User Avatar
Member
217 posts
Joined: March 2006
Offline
but that was the first I've done…. a opacity Map with no results. I took a TGA-file with an Apha Channel - wrong?
Detlef
User Avatar
Member
941 posts
Joined: July 2005
Offline
winkel
but that was the first I've done…. a opacity Map with no results. I took a TGA-file with an Apha Channel - wrong?
Detlef

No; not wrong *if* you used the map's alpha channel to define the opacity ouput (Of). But you have to actually tell the shader to do that (a Texture VOP won't do it automatically for you, for example).
But setting opacity (Of) – whether from a map's alpha channel or somewhere else – is definitely the right thing to do.

Attachments:
test1.jpg (168.1 KB)
opacitytest1.hip (774.0 KB)

Mario Marengo
Senior Developer at Folks VFX [folksvfx.com] in Toronto, Canada.
User Avatar
Member
217 posts
Joined: March 2006
Offline
Thanks I never give up to learn;o)
Detlef
  • Quick Links