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
.
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 first recipe of this chapter, we will be performing the following steps:
- Let's now go to the Material node editor and start creating our shader. First of all we need to delete default Diffuse BSDF and instead add Glass BSDF (Add | Shader).
- Let's now link it to Material Output and activate the real-time viewport. Everything...