leaves set up cycles ?

Edit :
I change the glossy node for a transparent node and now seems to work fine with the FAC BW image

got a nodes set up for some leaves

have the following

1 - normal map bluish

2 - color image
but background is only white no alpha I think

3 - got a BW leaves images

when I render at best I see the color leaves but all around there is the square that is white

is there a way to set this up whit out using alpha ?

thanks for any feedback

happy cl

Attachments


If the background stands out, use convert->BW, separate RGB, or separate HSV and use a greater/lesser than node to drive the mixing. I think you want to use fresnel or facing to mix diffuse based nodes and glossy, and your mask to mix with transparency shader. We tend to use thin single faced geometry for leaves, which means you have to invert the ior for the backface. Layer weight/facing doesn’t require this. Preview fresnel on both sides of a plane to see what I mean.