Creating a simple glass shader

To start getting acquainted with the glass shader, we will use a simpler scene than the one we will be creating later. To get all the objects we will use now, we need to select just layers 1, 3, and 5. Layer selection area is in the lower viewport header. Now let's add a new material to the Empty_Glass object (the first glass on the right when we are in camera view) and name it Clean_Glass.

Creating a simple glass shader

Getting ready

First of all let's open Blender and open the Glass_Empty.blend file, which you will find in the blend folder of this chapter. As we saved the user settings before, everything should be ready.

How to do it…

To create the ...

Get Blender Cycles: Lighting and Rendering Cookbook 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.