1
$\begingroup$

I am getting problem like below image. First trees row getting darkness of behind second trees row. you can understand clearly using below image.

I am using z-transparency to hide my plan background.

How can remove darkness of behind row from front row trees.? any one can help me.?

enter image description here

** Edited **

enter image description here

This is working for me. It give output like above image.

$\endgroup$
3
$\begingroup$

Your image alpha channel must be used for the mix factor between the transparent area and the color information (diffuse). So, just connect the Alpha output of the image node to the factor input of your Mix Shader node. This makes it so that only the parts of the image that are transparent are actually appear as transparent.

Just a proposal. Unfortunately we don't know you node tree for your tree planes.

Node tree example.

$\endgroup$
  • 3
    $\begingroup$ Please add more detail to your answer, or it might get flagged/deleted. $\endgroup$ – someonewithpc Jan 20 '16 at 20:29
  • $\begingroup$ Sorry, but I have saved my post to early and have seen the info about the post length later. $\endgroup$ – Christoph Werner Jan 20 '16 at 20:38
  • $\begingroup$ hey @ChristophWerner i have try your node connection but not working for me. $\endgroup$ – hardwork Jan 21 '16 at 10:52
  • $\begingroup$ May I see your tree image in blender please? Maybe it has no alpha? actually it should work like described. What do you see as result after using my proposal? $\endgroup$ – Christoph Werner Jan 22 '16 at 11:41
0
$\begingroup$

This may be caused by a translucent shader.

What that shader does, is when light is coming from behind an object, the object gets lit. This could cause that effect, because the other trees are blocking the light coming from the back.

Perhaps you accidentally used a translucent shader instead of a transparent shader?

Please share node setup if you would like a clear answer, as it is hard to answer with this information.

Also check out Andrew's shader encyclopedia for info on those shaders, and more. http://www.blenderguru.com/articles/cycles-shader-encyclopedia/

$\endgroup$
  • $\begingroup$ No man i used transparent shader, see above node connection image.I share it. $\endgroup$ – hardwork Jan 21 '16 at 10:58
  • $\begingroup$ Hmmm. I'm not sure. If you upload the .blend file it might help, but maybe not. Are you using Internal or Cycles? Where is your light? Are you just using world lighting? $\endgroup$ – Uncle Snail Jan 21 '16 at 14:48
  • $\begingroup$ I am working with cycles and i am using world light. $\endgroup$ – hardwork Jan 21 '16 at 14:56
  • $\begingroup$ I'm not sure what's wrong with yours... I honestly don't know why anything is showing up at all with your node setup. The transparent should be going into the top of the mix, and the diffuse into the bottom. If you change them that may fix it. There is just something weird going on. I have a feeling it has to do with the alpha mask for your trees being only partial, and partly off. I duplicated your scene (with mix flipped) and it works fine for me. If you want more help, you really need to upload the blend file. $\endgroup$ – Uncle Snail Jan 21 '16 at 15:27
  • $\begingroup$ Oh wait!!! I know what's wrong. I'll add another answer with the correct result. $\endgroup$ – Uncle Snail Jan 21 '16 at 15:28
0
$\begingroup$

There is a slight problem with your node setup.

  • First, flip the inputs to the mix shader.
  • Next, plug the color from the texture into the diffuse shader.
  • Finally, change the color of the transparent shader to pure white.
$\endgroup$
0
$\begingroup$

Increase the bounces for transparency in the light paths section: enter image description here

$\endgroup$

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.