In this blender video, I’m going to demonstrate how to add materials and textures to this 3d model of a hammer to achieve this result in a previous video. I demonstrated how to make the 3d model of the hammer and that video. I also demonstrated some blender basics. So if you’re brand new to blender, then you may want to watch that video first. You can find a link to it in the video description. The blender version that I’m using is 2.8 beta since this is a beta version of blender. You should be aware that some of the things that I’ll be showing might change. Also, Version, 2.8 is a major update to blender. So if you’re using an earlier version, then many of the things I’ll be showing will be different. This 3d model is made up of two objects. The head of the hammer and the handle. We’ll start with the handle first and add a wood material to it so verify that object mode is selected, Then Press Z and select. Look, Dev. This is an easy way to get an idea of what the rendered hammer will look like before any light in a setup next, click the handle to select it, then switch to the material panel and click the new button. The principal shader should be selected by default for the base color. Instead of selecting a solid color we’re going to use an image, so click this small button next to the base color and select image texture, then click the. Open button and select an image. I’m going to use this image of a piece of wood. You can find a link to it in the video description. This image is named wood texture, dot JPG. Sometimes the image doesn’t update properly when you make a change if this happens, then just rotate the view a little and it will update Blender. Has multiple workspaces available that help with certain tasks were going to change the position of the wood image on the handle, so switch to the UV editing workspace. You’ll notice that for this workspace we’re in edit mode and solid view, So press Z and select. Look, Dev, so that we can see the wood image on the handle at the top of the UV editor window. Select the wood image from the drop down menu display it then use the scroll wheel to zoom next, move the cursor into the 3d viewport and press a to select all. Now you can see how the mesh of the handle is unwrapped on top of the wood image. We’re going to put this area of the image on the handle will do this by scaling and moving the unwrapped mesh to do that select part of the mesh, then press control L, which will select all of the linked vertices now scale it on the x-axis by pressing S then X, then scale it on the Y axis by pressing S. Then Y now press G to move and drag it over here. I’ll switch to the layout workspace so that we can see how this looks. Now, Let’s add some texture to it to do that. Switch to the shading workspace. This is the node for the principal shader, and this is the node for the wood image that we added to give the handle some texture. We’re going to use a displacement node to do that. Press shift a and select vector here. You’ll find a displacement node and a vector displacement node select the displacement node, then connect the output of the displacement node to the displacement input of this node now connect the color output of the image node to the Heights input of the displacement node. The handle now has texture, but it’s too much so reduce the displacement scale value to 0.1 This makes it look more natural. Now reduce the principal shader roughness value to 0.3 to make the handle glossy err. Now else, – the layout workspace so that we can see the whole handle. There’s just one more area of the handle that we need to work on. You’ll notice that part of the texture from the bottom of the handle extends up into the bevel area to fix this. We can add a loop cuts so tab into edit mode, then press ctrl R to add a loop cuts and left Click, then drag it down near to the bottom and left-click again Now tab back into object mode. This looks better now. We’re finished with the handle. This is a good time to save what I have so far. Next we’re going to work on the head of the hammer, which will be more complex. This is because some of it will look like smooth metal and some of it will look like rough painted metal, so switch to the UV editing workspace, then tab into object mode and left-click, the head of the hammer to select it. Now switch to the material panel. This object was made from the default cube, so it already has. The principal Shader added for the material for the base color we’re going to use an image again, So click the small button next to the base color and select image texture, then click the. Open button and select an image. I’m going to use this image of a concrete floor. It may seem strange to use an image of concrete, but when we change the principal shader to a metallic material, it will look good. You can find a link to this image in the video description. This image is named concrete floor JPG now set the metallic value to 1 then set the toughness value 2.2 If we look at the side of the hammer up close, you can see a seam on the surface and there are streaks in this area. This is because of the way the mesh is unwrapped to see how it was unwrapped. Select the concrete image from the drop down menu to display it, then use the scroll wheel to zoom next, move the cursor into the 3d viewport tab into edit mode and then press a to select all now you can see how the mesh is unwrapped on top of the concrete image we’re going to unwrap this again using a different method so position the view to roughly this position. Then press U to unwrap. These are different methods that can be used select project from view bounds. You can see that it’s unwrapped, based on the view in the 3d viewport. If I tab into object mode, you can see that it now looks much better in this area now. Switch to the shading workspace. Then tab into edit mode over here. Switch to the material panel. The head of the Hammer is going to use two different materials name this material smooth now click this plus button to add a new material and then click the new button name this second material rough. We’ll keep the default principle shader now press a to make sure that everything is selected, then click the assign button. This will assign the rough material to the whole head of the hammer. So now just temporarily the smooth material is not being used at all now. I’ll tab into object mode so that we can see the material better next. Click this small button next to the base color and select image texture we’re going to use the concrete image again. You can either select it from this drop-down menu or from the drop-down menu in the image node now set principal shader roughness value 2.2 Now let’s add some texture to it. So press shift a and select vector and then displacement, then connect the output of the displacement node to the displacement input of this node. The image node is currently connected to the base color. Remove it from the base color and connect it to the Heights input of the displacement node. This will allow us to use the texture from the concrete image, but not its color for the base color. Set it to black. Currently, there is too much displacement, so reduce the scale to 0.1 now. This looks like a rough painted metal next. We’re going to select some specific areas and assign the smooth material to them so tab into edit mode, then switch to face select mode and select this face. Now press ctrl. Along with the plus key on the number pad to add more faces to the selection. If you don’t have a number pad then from the. Select menu go to select more or less and click on more. If you do have a number pad, then press ctrl along with the plus key on the number pad five more times. This is what the selection should look like now. Select the smooth material and click the assign button. This will only assign the smooth material to the selected faces. Now let’s do the other side, so select this center face. Then press ctrl along with the plus key on the number pad 4 times. The selection should look like this next. Select the smooth material and click the assign button. We have two more areas to do so select this center face. Then press ctrl. Along with the plus key on the number Pad 2 times, then select the smooth material and click the assign button, then on the other side, select this center face, then press ctrl along with the plus key on the number pad two times, then select the smooth material and click the assign button now all tab into object mode so that we can see the materials better now we’re going to make a small change to the smooth material, so make sure that the smooth material is selected. We’re going to mix in a solid color with the image to lighten up the dark spots, so press shift a and select color and then mix. RGB, drop it on the connection going into the principal. Shader we’re going to keep this default gray color the factor value. Lets us control how much of the image to use and how much of this solid color to use If I set it to the maximum value, then only the solid color will be used if I set it to the minimum value that only the image will be used. I’m going to set this value to 0.3 The hammer is finished now. I’m going to save what I have so far. Next, let’s position the hammer on a floor, set up some lighting and render the final image so switch to the layout workspace, Then Press 1 on the number pad for front view. Now hold down the shift, key and left. Click the handle to add it to the selection, then press R to rotate and rotate it until it’s about level, then pan the view to the center and zoom in closer, then press R to rotate again and rotate it until this spot and the end of the hammer or even now press Ctrl + 3 on the number pad for left side view, then press R to rotate and rotate until this spot, and this spot are even now Press 1 on the number pad for front view again, then press R to rotate one more time and rotate it until this spot and the end of the hammer are even now we’ll set up the lighting. We’re going to be using the cycle’s render engine for the final render, so select it by switching to the render panel and then select cycles selecting cycles now will ensure that the lighting is set up for this under engine now. Select the light source. I’m going to be giving you some specific locations and intensities for the light sources. I’m not being specific because these are necessarily the best settings. I’m only being specific so that you can follow along and get the same results that I get so press G to move and drag it up until its 12 grid divisions above the bottom of the hammer, then switch to the object. Data panel verify that the point lamp is selected and set the size to 3 then click the use nodes button and set the strength to 5000 Now press 7 on the number pad for top view, then press G to move and drag it until it’s to grid divisions past the end of the handle on the Red Center line, then duplicate the lamp by pressing shift D and move it to the green centerline 9 grid divisions below the red centre line, then press shift D again to duplicate and move it until its 9 grid divisions above the Red Centre line and 5 grid divisions to the left of the Green Centre line. Now change the strength of this lamp to 2,000 Now let’s add a floor below the hammer, so press 1 on the number pad for front view, then press shift a and add a mesh plane. It’s hard to see, but it’s located inside the head of the hammer now scale it up in size by pressing S, Then 100 then enter, then press G to move and drag it down to the bottom of the hammer to set the material for it. Switch to the material panel and click the new button will keep all of the default settings now press Z and select rendered so that we can see what it will look like with the cycle’s render engine now we’re going to add an image to the background to use as an additional light source. This will help to make the lighting look better and it will also give the head of the hammer. Something more interesting to reflect to do that. Switch to the world panel, then click the small button next to color and select environment texture, then click the. Open Button and select an image. I’m going to use this image. It’s common to use a 360-degree image for an environment texture, but since I’m only using it for lighting and it will not be visible in the final render. An image like this will work Just fine. You can find a link to it in the video description. This image is named outdoors. JPG we’re done with the render view for now, so press Z and select. Look, Dev. Next, we’ll set up the camera view, so press 0 on the number pad for camera view. This is the view looking through the camera. I’ll zoom in a little now. We’re going to lock the camera to the view to do that. Press in to open the properties panel and put a check mark next to lock camera to view, then press N again to close the properties panel. Now we can zoom pan and rotate while looking through the camera now. I’ll set up the view that I’d like to use now. Press Z and select rendered so that we can see what it will look like with the cycle’s render engine. Everything looks good, so we’re ready to set this up for the final render, so switch to the output panel. This is where you can set the resolution of the rendered image and the file format. I’m going to keep all of the default values. Now switch to the render panel. The sampling section is where you set the number of render samples the larger. This value is the better the final image will look, but the longer it will take to render. I’m going to keep the default value of 128 now. I’m going to save the project. It’s a good idea to do this Before rendering in case something goes wrong During the rendering process now will render the image so from the render menu select render image. This is going to take a couple of minutes to render so. I’ll pause the video until it’s done. Rendering is finished, and this is the final image to save the image Go to the image menu and select save as I’m going to name this image Hammer dot PNG. Well, that concludes this video. Thanks for watching and please subscribe and leave a comment.