Creating tree shaders – the leaves

In this second tree recipe, we will create the leaves shaders, as shown in the following screenshot:

Creating tree shaders – the leaves

The leaves as they appear in the final rendering

Getting ready

Carrying on with the blend file of the previous recipe, now, activate (hold Shift while clicking) the 2nd and the 11th scene layers, and in Outliner, select the leaf_generic_mid object.

How to do it...

Let's proceed with the creation of the leaves shaders:

  1. Click on the New button in the Node Editor window toolbar or in the Material window, and rename the material as leaf_alpha.
  2. In the Material window, switch the Diffuse BSDF shader with a Mix Shader node and ...

Get Blender Cycles: Materials and Textures Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.