In this second tree recipe we will create the leaves shaders, as shown here:
Carrying on with the blend of the previous recipe, now press Shift and activate the second and the eleventh layers also and select the leaf_generic_mid object.
Let's go straight to creating the leaves shader:
Click on the New button in the Node Editor window's header or in the Material window and rename the material as
leaf_alpha
.In the Material window switch, the Diffuse BSDF shader with a Mix Shader node and rename it as
Mix Shader Cutout
. In the first Shader slot, select a Transparent BSDF shader node and in the second one, a new Mix Shader node that will be renamed asMix Shader Add Translucency
.Add an Image Texture node (press Shift + A and go to Texture | Image Texture), rename it as
MASK
, and connect its Alpha output to the Fac input socket of the Mix Shader Cutout node.Click on the Open button of the Image Texture node, browse to the
textures
folder...