12
$\begingroup$

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

$\endgroup$
1
  • 2
    $\begingroup$ 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.) $\endgroup$
    – Brigand
    Jul 17, 2013 at 6:55

1 Answer 1

14
$\begingroup$

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

$\endgroup$
3
  • 2
    $\begingroup$ Using a freshly-made PNG with transparency as the image texture, this does not work. I have duplicated these steps twice. I restarted Blender 2.75a and tried it a 3rd time. It does not work. $\endgroup$
    – user16716
    Aug 26, 2015 at 20:48
  • 1
    $\begingroup$ @user16716 You could ask a new question and provide some more details (screenshots, a .blend file etc). $\endgroup$
    – PGmath
    Aug 26, 2015 at 21:38
  • $\begingroup$ @DarenW, how to make the node connections like this? $\endgroup$
    – Black
    Feb 22, 2018 at 21:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .