Book Image

Blender Cycles: Lighting and Rendering Cookbook - Second Edition

Book Image

Blender Cycles: Lighting and Rendering Cookbook - Second Edition

Overview of this book

Blender provides a broad spectrum of modeling, texturing, lighting, animation and video post-processing functionality in one package. It provides cross-platform interoperability, extensibility and a tightly integrated workflow. Blender is one of the most popular Open Source 3D graphics applications in the world. Modern GPUs (Graphics Processing Unit) have some limitations for rendering complex scenes. This is mainly because of limited memory, and interactivity issues when the same graphics card is also used for displaying and rendering frames. This is where Cycles rendering engine comes into play. Cycles is bundled as an add-on with Blender. Some of the features of Cycles is its quality, speed and having integrated industry standard libraries. This book will show you how to carry out your first steps in Cycles - a brand new rendering engine for Blender. In a gradual and logical way, you will learn how to create complex shaders and lighting setups to face any kind of situation that you may find in Computer Graphics. This book provides information on how to setup your first application in Cycles. You will start by adding lights, materials, and textures to your scene. When it's time for the final render, you will see how to setup Cycles in the best way. You will learn about a wide variety of materials, lighting, techniques, tips, and tricks to get the best out of Cycles. Further on in the book, you will get to know about animation and still shots, and learn how to create advanced materials for realistic rendering, as well cartoon style shaders. This cookbook contains a wide range of different scenes, proposed in a structured and progressive order. During this journey, you will get involved in the concepts behind every step you take in order to really master what you learn.
Table of Contents (18 chapters)
Blender Cycles: Lighting and Rendering Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Introduction
Index

Creating bread


Now, we will create the material for the bread. This is an Italian kind of bread named schiacciata or focaccia. Let's see how to do it!

Getting ready

Select the bread01 mesh and add a new material to it. Name it bread.

How to do it…

  1. Add a Subsurface Scatter BSSRDF node and set the mode to Cubic, the Scale value to 0.6, the Radius value to 0.11, 0.12, 0.1, and the Sharpness value to 0.5.

  2. Add a Diffuse BSDF node and mix it with the SSS BSSRDF node using an Add Shader node. Set the Roughness value to 1.

  3. Add an Image Texture node and load the SchiacciataCOLOR_COLOR.tga file. We will use UV coordinates.

  4. Add RGB Curves after the Image Texture node and set the Combined curve node as shown in the following screenshot. Also, add a Hue Saturation Value node, set the Saturation value to 1.1, and Value to 0.9. Finally, plug the HSV node output into the Color socket of the SSS and Diffuse nodes.

  5. Add a Glossy BSDF node and mix it with the sum of the previous two shaders using a Mix Shader node...