12

After converting to nodes in order to render using Cycles I've no idea where to enable the z-transparency. I guess the image textures alpha channel needs to be pluged somewhere but I've no idea which node would be suitable.

The question is how could I correctly setup the nodes to have the same effect as when using z-transparency in BI?

enter image description here enter image description here

The materials original settings for BI are:

enter image description here

Which renders like:

enter image description here

I had no luck with DarenWs suggestion:

enter image description here

David
  • 49,291
  • 38
  • 159
  • 317
stacker
  • 38,549
  • 31
  • 141
  • 243
  • 2
    Remove the link of Image Texture Color to Transparent BSDF color, and set the transparent color to pure white. (Looks like you figured it out, but for future reference.) – Brigand Jul 17 '13 at 06:55

1 Answers1

14

Use a Mix shader as the last node before the Material Output. feeding it the hair material (diffuse shader or whatever) in the lower input, a Transparency shader in the upper, and the image texture's alpha into the Mix's "fac" input.

Example node setup

Aldrik
  • 9,720
  • 22
  • 56
DarenW
  • 3,169
  • 4
  • 25
  • 39