10
$\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$
  • 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 '13 at 6:55
13
$\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$
  • 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 '15 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 '15 at 21:38
  • $\begingroup$ @DarenW, how to make the node connections like this? $\endgroup$ – Black Feb 22 '18 at 21:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.