{"id":5297,"date":"2020-12-02T13:26:41","date_gmt":"2020-12-02T13:26:41","guid":{"rendered":"https:\/\/renderguide.com\/?p=5297"},"modified":"2020-12-02T13:26:42","modified_gmt":"2020-12-02T13:26:42","slug":"blender-materials-tutorial","status":"publish","type":"post","link":"https:\/\/renderguide.com\/blender-materials-tutorial\/","title":{"rendered":"Blender Materials Tutorial"},"content":{"rendered":"\n

This Blender Material Tutorial shows how to add materials to a blender object. We will add materials to a screwdriver 3d model to make it look realistic. This is a Blender Materials Tutorial for beginners<\/strong>. We expect that you are not a total beginner and know how to move around and the basics of working in 3D space. If not – check out our four part article where we explain everything you need to know to begin working in Blender – Blender Basics Tutorial: Creating a 3D House<\/a>.  <\/p>\n\n\n\n

I have made a simple screwdriver object that I am going to apply all materials on as an example. It is just a cylinder extruded and scaled a bunch of times. If you can\u2019t create something like this yourself – check out our Blender Modeling Tutorial<\/a>. Otherwise you can follow the tutorial on any other object<\/strong>, even the default cube.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Adding Blender Materials to an Object<\/h2>\n\n\n\n

On our object we obviously need to add two materials<\/strong> – one to the handle and one to the screwing part. So let’s review two possible situations<\/strong>. One – is when your scene is made of different independent objects. And two – when the whole thing is a one object that needs two or more materials.<\/p>\n\n\n\n

In the first case everything is quite easy. First of all – select the part<\/strong> that you want to add a material to, then go to the Material Properties<\/strong> in the Properties Editor and click the big +New button<\/strong>.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Easy as that – you have created a material<\/strong>. You can see that it is created if at the top there is something like \u201cMaterial.001\u201d and below are a lot of different settings, like here:<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

.<\/p>\n\n\n\n

Then you just select the other part<\/strong> of the object and do absolutely the same thing<\/strong>. It should add the Material.002. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Now for the other case, when everything is connected<\/strong>. You need to do the exact same thing with selecting the object and creating a New Material. This will create a single material for the whole object<\/strong>. <\/p>\n\n\n\n

Then you need to change to the Edit Mode at the top right of the viewport[Tab] and select all of the geometry<\/strong> of the part that you want to have a separate <\/strong>material.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

With this selected proceed to the Material Properties, on the right side click on the plus button to add material slot<\/strong>. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

This will add a new slot. You need to again press on the +New button to add a material<\/strong> with this slot selected. Then you can assign this material to the selected geometry<\/strong> by using the Assign button.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Blender Shaders<\/h2>\n\n\n\n

As part of this Blender Materials Tutorial let\u2019s talk about the materials<\/strong> themselves. When you select a material, you see all the settings below it. Those are the settings of the current shader. The default shader that is created automatically is the Principled BSDF. But let\u2019s start with looking into other shaders<\/strong>.\u00a0<\/p>\n\n\n\n

The first option in the Surface settings of a Material is the Surface. Here you can choose amongst all the shaders that are available in Blender<\/strong>. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

I will not go into each one of them and explain how they work. A good example to try would be the Emission Shader. You need to change to the Material Preview Shading<\/strong> to see the changes to the Material that you make.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Though some shaders can work exclusively in the Cycles<\/strong> rendering engine. And the Material Preview Shading utilizes the real-time renderer – Eevee. So consider changing between the Shadings to test everything out properly.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Emissive Shader in Eevee<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Emissive Shader in Cycles<\/p>\n\n\n\n

Few more good examples are the Glass BSDF<\/strong> and Velvet BSDF<\/strong>:<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

I recommend you to try all the available shaders<\/strong> out and to try changing the settings that they have. Just as the training and for the knowledge. But we will turn back to the default Principled BSDF shader.<\/p>\n\n\n\n

Blender Principled BSDF Shader<\/h2>\n\n\n\n

Principled BSDF is the most used shader in the Blender<\/strong>. That is because it is the most flexible one<\/strong> and you can create most of the simple stuff using only it. And, as you may notice – there are a lot of settings available for it. A bunch more than any other shader. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

So let\u2019s look into them. But to not extend this article for too long – we will introduce only the most important, interesting and used ones<\/strong>. This does not mean that other settings are useless. They just can be too advanced for now, or too situational. <\/p>\n\n\n\n

Starting with the Base Color<\/strong> – it is the most obvious one and one of the most important settings. Fairly simply to use: just click on it and select the color, its brightness and saturation. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Next is the Subsurface Scattering settings<\/strong>. They are a bit on an advanced <\/strong>side, but I could not miss them out. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

It is the effect when light comes through the object and scatters by interacting with it<\/strong>. Sounds really difficult, but in reality you meet such materials everyday and one example – especially. This example – is your own skin. When you glow a strong light on it – you can see the light coming through your body<\/strong> and exiting from the different angles creating a red glow. That is – Subsurface Scattering.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Next is Metallic <\/strong>and it is quite obvious how it works – makes objects look like they are made out of metal<\/strong>. Used in the combination with Roughness setting.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Roughness <\/strong>– Decides how rough your object is. Absolutely rough objects(1) do not reflect lighting at all and not rough objects (0) – reflect the surrounding perfectly. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

By combining the Metallic and Roughness<\/strong> settings you can create a really reflective material.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Transmission <\/strong>is quite self-explanatory. It is for controlling how much lighting transmits through your object<\/strong>. So if you create a light source on the one side of the transmissive object – you will see the light exiting on the other side.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

And the last important setting is Emission<\/strong>. It is really similar to the Emission Shader<\/strong> that we already tested. But this one is right in the Principled BSDF, so you can change all the other settings of your object, such as its Roughness and Metallicness in addition to making it emissive.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Matching Blender Materials to an Object<\/h2>\n\n\n\n

After we learned the Principled BSDF\u2019s main settings is the time to try and create materials for our object<\/strong>. As I already mentioned – there would be two materials. Let\u2019s start with the handle.<\/p>\n\n\n\n

Usually modern screwdrivers are made out of rubber or plastic<\/strong>. But in my case it seems that the screwdriver is not that modern, so I guess the wood materia<\/strong>l would fit the best. <\/p>\n\n\n\n

For wood material first of all I change the Base Colo<\/strong>r to be similar to wood. So something brownish, maybe with a tint of red.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

There is no Subsurface Scattering<\/strong> in wood and it is definitely not Metallic<\/strong>. Roughness<\/strong>: wood can be a bit reflective, but on the old screwdriver it would be too worn out, so not that reflective. Emission or Transmission<\/strong> is definitely not needed here. So the result is like this:<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Changing it to rubber<\/strong> would be really easy – basically just change the color and that is it. Lower Roughness a bit too, as rubber can be a bit reflective<\/strong>. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

And Plastic <\/strong>would be just like rubber, but a lot less rough(reflective).<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Now for the screwing part<\/strong>. This one is a lot easier and there are not a lot of possibilities. These parts are made of metal, so Metallic <\/strong>goes to 1 right of the bat. Then you lower the Roughness <\/strong>to something that would suit this part. In my case it should not be too reflective, so like 0.4.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

And that is basically it. You can experiment <\/strong>with the Roughness and color a bit. Make it look like some different metal. Maybe even golden:<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Or, as it is the old screwdriver – you can try to make it look a bit rusty<\/strong> by changing the Base Color.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

And basically we are done. We have created two different materials<\/strong> for our object, so it now looks like a screwdriver with a wooden handle and metallic screw.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Adding Image to Blender Materials<\/h2>\n\n\n\n

But there is another way of adding simple materials to your objects<\/strong>. That is adding textures – images <\/strong>aligned with the object. You can use any image for this that you found on the internet. Best to use the images that were specifically made for this task though. I will use this image that I found on the textures.com<\/a>:<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

To apply it to the object<\/strong>, go to the Base Color setting and click on the big dot to the left of it. In the appeared window find the Image Texture option under the Texture column.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Click on the appeared Open button and select the image that you want to use from your computer. Results should be seen in the viewport instantly<\/strong> after you do that.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

And depending on the object that you are using – the result can be quite bad<\/strong>. Just like in my case – texture looks really weird, stretched <\/strong>in some places. You can try to fix this by UV Mapping the object properly<\/strong>. <\/p>\n\n\n\n

For an easy solution change to the Edit Mode and select all of the objects geometry. After that go to the UV Settings[U] and try the Smart UV Project <\/strong>option. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

This should make it better and would totally work on some objects. Sadly in my case it is not that good either, though better. Seams are too visible<\/strong>:<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

If this did not work for you – you can try using other options<\/strong> from the UV settings menu. For example, the Cube Projection worked quite well for me. <\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Sadly, this still will not work for every and each object<\/strong>. Some of them require an individual approach. If you want to learn how to use images as materials<\/strong> properly and work with UV Maps in general – check out our Blender UV Mapping Tutorial<\/a>. The main advantage of using this approach is that it looks more realistic and you even can control the Metallic, Roughness and other settings of the image texture you applied.<\/p>\n\n\n\n

\"blender<\/figure><\/div>\n\n\n\n

Conclusion Blender Materials Tutorial<\/h2>\n\n\n\n

In this Blender Materials Tutorial we introduced to you the basics of the Materials<\/strong>. What shaders are there, what is the main shader and what are the most important settings there? Also the method of adding images to your objects as material was shown.\u00a0<\/p>\n