Using the Glossy shader to create a clean metal material

Now that the lighting is ready, we need to add some material to the objects of our scene. Let's start with the key.

Getting ready

Select the key from the scene, add a new material and name it Key. Even if the key material alone will be quite simple, this time we are going to use the node editor in order to set it up.

By default when we add a new material, Cycles will add a Diffuse shader node and of course, the material output. For the key metal we will also need this node, so let's leave it where it is. Moreover, we are going to need a glossy shader in order to add reflections to the key surface.

How to do it...

These are the steps to create the materials of this recipe:

  1. To add a new node, we ...

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.