Book Image

Blender 2.6 Cycles: Materials and Textures Cookbook

By : Enrico Valenza, Ton Roosendaal
Book Image

Blender 2.6 Cycles: Materials and Textures Cookbook

By: Enrico Valenza, Ton Roosendaal

Overview of this book

Cycles is Blender's new, powerful rendering engine. Using practical examples, this book will show you how to create a vast array of realistic and stunning materials and texture effects using the Cycles rendering engine. Blender 2.6 Cycles: Materials and Textures Cookbook is a practical journey into the new and exciting Cycles rendering engine for Blender. In this book you will learn how to create a vast array of materials and textures in Cycles, including glass, ice, snow, rock, metal and water. If you want to take your 3D models to the next level, but don't know how, then this cookbook is for you! In this practical cookbook, you will learn how to create stunning materials and textures to really bring your 3D models to life! Diving deep into Cycles you will learn Cycle's node-based material system, how to set-up a 3D scene for rendering, how to create a natural and man-made materials as well as the correct organization and re-use of Cycles materials to save you time and effort. To ensure that your creations look stunning you will learn how illumination works in Cycles, improve the quality of the final render and to avoid the presence of noise and fireflies. Each chapter of Blender 2.6 Cycles: Materials and Textures Cookbook builds on the complexity of the last so that by the end of this book you will know how to create an impressive library of realistic-looking materials and textures.
Table of Contents (13 chapters)
Blender 2.6 Cycles: Materials and Textures Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Creating tree shaders – the leaves


In this second tree recipe we will create the leaves shaders, as shown here:

Getting ready

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.

How to do it...

Let's go straight to creating the leaves shader:

  1. Click on the New button in the Node Editor window's header 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 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 as Mix Shader Add Translucency.

  3. 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.

  4. Click on the Open button of the Image Texture node, browse to the textures folder...