Blender Tutorial - Creating Realistic Procedural Brushed Metal

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello everyone and welcome to another blender made easy tutorial today i'll be creating this procedural brushed metal material in blender this material is very customizable and you can change almost everything to get exactly what you want here i've created a node group with all the settings that you're going to need the roughness the scale of the brush metal the glossiness all that you can change with these settings there are two color options here you have a base color and then you have a random color if you change the base color to something other than the random color you're going to get some really interesting effects as you can see on screen you can also change these scratches on the surface if you want thicker scratches you're going to want to turn this down if you want the bump to be more just turn that all the way up and you can get a lot of variation if you want to play with this node group yourself the link is in the description you can either get it for free or if you're feeling generous any donations is very much appreciated without out of the way let's get into the video [Music] the first thing you're going to want to do is download the starter blend file the link is in the description this just has a sphere a camera and an hdr already set up so we don't have to waste any time setting that up once you have it downloaded and open just come over here and then click new this will create a new material and we can see it right here and the first thing that we're going to want to do is change the metallic since we're creating a metallic material we want to turn this all the way up to a value of 1. the specular might give you some weird edges along the side so i'm going to turn that all the way down to zero we're not going to need that for this material next up let's create the brush effect you're also going to want to enable the node wrangler add-on if you haven't done that if you've never used this add-on before definitely enable it because it's very useful for creating materials so make sure that is enabled and you should be good to go if i press shift a i can then add in a texture and then a noise texture and we'll place it here let's take a look at this by pressing z and going into rendered view and if we have the node wrangler add-on enabled i can control shift left click on this noise texture to preview exactly what it looks like what we're going to do is we're going to stretch the noise texture so it actually looks like brushed metal to do that select this and press ctrl t to add in a mapping and a texture coordinate node we're going to be taking the object coordinates and plugging that into the mapping and then we'll drag this underneath here next what we're going to do is change the scale in the x value if we drag this up really high you're already going to see that brush metal effect you might notice though if you take a look closely that you have some repeating patterns along the lines you can see this a lot more if i add in a plane you can see we have a lot of repeating lines of noise so we're going to turn down the y scale down to 0.1 once we do that you should see the lines get stretched out and that looks a lot better now before we continue with this brushed metal material here is a quick word from our sponsor skillshare you've heard of skillshare by now they're an online learning platform with thousands of classes to choose from some of the topics include animation illustration graphic design there are even a lot of blender classes as well one class i can recommend is advanced video editing with premiere pro jordy's way of teaching this class is very entertaining and i enjoyed it quite a bit i edit all of my tutorials using premiere pro and sometimes it takes a long time to edit because i don't know a lot of the shortcuts and techniques this class has allowed me to edit faster and create higher quality videos skillshare is specifically designed for learning that means with a premium membership you get access to every single class on their platform with no ads so you can watch and learn uninterrupted and a lot of the classes are under 60 minutes so it's easy to fit into any schedule so here is the deal that i have for you today the first 1000 people to click the link in the description will get one month of the premium membership on skillshare for free so you can start learning whatever you want to right now so what are you waiting for click the link down below and start learning something new today thanks again to skillshare for helping me pay rent this month now let's get back into the tutorial now let's change some of the settings in the noise texture the first thing i'm going to do is the scale i'm going to set that up to a value of 6 just so the lines are a little bit smaller and the detail amount i'm going to drag all the way up to 16. the roughness we can drag up as well 2.6 this will just add another layer of detail to the lines and the distortion you can also drag that up to 0.1 at the moment if we take a look at the plane one more time you'll notice the lines are very very straight and there's not much going on with them so to fix that we're going to add another layer of noise on top of that to break up the lines so they're a little bit less straight this is very easy to do we're first going to select the noise texture and shift it and place it here we're going to be adding some noise to the vector location of this noise texture i'm also going to add in a color and then a mix rgb and place it in between the mapping and the noise texture we'll then take the color value actually the factor value from the noise and plug it into the bottom input then we'll take the object plug that into the noise texture right away you'll notice that the lines are a lot less even and they're kind of all over the place we're going to turn down the strength of this by setting the scale up a little bit let's go with a value of 8 and the roughness i'm going to go back down to 0.5 and the distortion i'm going to set down to 0. this factor value in the mix node now controls how much noise is going to be in those lines you're going to want to set this a little bit lower because if you go too high it's just going to look like this so i think a value of about 0.2 to 0.3 is probably a good option let's go with a value of 0.2 now let's set up the color i'm going to press shift a and add in a converter and a color ramp and we'll place it here with these two handles we're going to go with a gray i'm also going to drag these a little bit closer together something like that and then for this handle we're going to drag the value up so it's a little bit lighter and then for this handle we're going to go darker something like that will look pretty good let's take the color from the color ramp and plug that into the base color of the printable shader and then control shift on this let's go into camera view and see what this looks like i'm going to hide the plane once again and here is our result this is looking pretty good so far but i also want to be able to change the color later so to do that i'm going to press shift a and add in another color and then mix rgb and we'll place it here we're going to set this down to multiply and now if the factor is all the way up this bottom value now controls the overall color of our material i'm going to drag that up to white then if i go over to the blue you can see it changes the color we're just going to leave it at a nice gray somewhere around here now that our brush metal effect is done let's add in the noise and change the roughness of our material i'm going to press shift a and add in a new texture and this is going to be a must grave texture let's ctrl shift left click on this to see what it looks like if we change the scale down let's go with a value of about 0.1 for this then if we drag the detail all the way up to 16 and the dimensions down 2.1 we're going to get some really cool noise patterns in our texture then what we're going to want to do is take the object coordinates from our texture coordinate and plug that into the vector of the muskrate then this happens and we get a lot more noise into our scene now let's go ahead and change the color i'm going to press shift a add in a new color ramp we'll place it right here and for this it's going to be very similar to this color ramp up top this one on the left is going to be a nice gray a pretty dark gray somewhere around here and then the handle on the right side is also going to be a gray but it's going to be a little bit lighter somewhere around there is probably good then we'll plug this directly into the roughness of our principled shader now if we ctrl shift left click on this you should see this effect it might be a little bit subtle but we can change this by adding in a converter and a math node and placing it here let's set this down to multiply this bottom value now controls the roughness if you drag it a lot higher we're going to get a lot of roughness into our scene if you drag it lower it's going to be a lot more smooth i found that a value of about like 2.9 looks pretty good so you have a little bit of roughness but you also have some glossiness now to get that random color it's very simple all we have to do is duplicate this multiply node and place it here then if we take the height from our must grade texture and plug that into the factor this bottom value now controls the color of that roughness so if i drag this lower you can see it's going to change it i'm going to set that back down to 0 and drag the color all the way up to white our material is coming along just fine but the next step is to add in some scratches and bump we're going to be adding in the scratches first and then we'll add in the bump so first off to add in scratches there are a couple different ways but the way we're going to be using is with a wave texture let's place that right here let's take a look at this by control shift left clicking on it i want the lines of our wave texture to be a lot bigger so i'm going to set the scale of this down to a value of 1. the distortion this is the value that we're going to want to change this will add in a lot of randomness to the lines let's set that up to 25. the detail amount you might think that we're going to turn this up but we're actually going to turn that down to a value of 0. the detailed scale that is what we're going to be changing let's drag that up to a value of 5. as for the detail roughness this is going to just add a little bit of another level of detail let's set this to 0.75 and enter now you might be thinking that this doesn't really look that good but don't worry we're also going to be taking the same technique up here with the noise texture and the mix to change the vector location of this noise texture we're going to be doing that with the waves so select the noise texture and the mix and shift do it then with the texture coordinate we're actually going to be taking the generated output plugging that into the top input of the mix and then the color is going to go into the wave texture and as you can see already we're getting a lot more detail into our texture first off the scale of this i'm going to drag down to a value of 6 and for the roughness we're going to drag that to 0.6 and then as for the distortion this will just kind of distort the overall noise pattern if we drag that up 2.1 that might give it a cool look to control the texture a little bit more and make it a little bit more sharp we're going to be adding in a color ramp so press shift a add in a color amp and place it here we're also going to be flipping this so click on this little drop down arrow and click on flip color ramp and then we're going to drag the white value much closer to the black value this will clamp down on those lines and make the black parts a lot more sharp somewhere around there will look pretty good our scratches are looking great so far but they're covering the entire mesh now let's add in a noise texture to control where they're located on this so to do that let's add in another noise texture we'll place it right here then add in another converter and color ramp let's take the factor of the color amp plug that into the factor then to actually combine these i'm going to be adding in a math node and setting the mode down to subtract this bottom color amp is going to go into the bottom input then the top one is going to go into the top and then let's take a look at this by control shift left clicking on it we're also going to want to clamp this value so the ranges are from 0 to 1. if we uncheck this you're going to notice that some parts are a lot darker this means that they're going in the negative direction so if we clamp that it'll just bring everything from 0 to 1. as for this noise texture we're going to change a couple of settings here firstly the scale of the noise i'm going to drag up to a value of 8. let's take a look at this to see what it looks like for the detail let's drag that all the way up to 16 and i think that's probably good then if we take the black value from the color ramp and drag this up we're going to get some random parts of our mesh then if we take a look at this you'll notice that some parts are gone and some parts are there another effect that you can do with this color app is if we change the mode from linear over to constant and then drag the white value closer you're going to get a lot more sharper scratches as you can see here so we're going to bring the white value closer to the black to make them a little bit smaller somewhere around there looks pretty good and there is our results if you want to change the pattern of this you can switch the noise texture to 4d and then drag the w slider up a little bit and that will give you some random variation in these scratches to add the scratches to the normal input of the principled shader it's actually very easy we're first going to press shift a and add in a vector and then a bump node and we'll place it here we're going to be taking the subtract and plugging that directly into the height then if we take the normal into the normal of the principled shader let's ctrl shift left click on this to check it out here is the result that we're getting currently the scratches are actually extruding outwards we don't want that we want them to be going in so all you have to do is click invert and now the scratches are actually going into the surface of the brush metal i also want the brush pattern up here to be in the bump as well so to add that in all we need to do is add in another math node and then take the color ramp from the brushed metal and plug that into the bottom input of this and then here is the result that we're getting the strength of this is currently way too high so let's drag that down to a value of 0.2 and as for the distance that's also currently way too high so let's drag that down as well let's go with a value of 0.01 and enter one quick tip if you want to change the noise pattern of this muskrate texture it's very easy if you just switch this over to the 4d mode this w slider now changes how it looks so i can change it up as much as i want and get a different noise pattern then if i take a look at the principled shader we can see that the noise pattern is like this if i drag it up higher it's going to randomly change what that noise looks like so that is a quick way to change what the noise looks like for the roughness and there it is here is our complete node setup for you to take a look at and just in case you got anything wrong or your material looks a little bit weird you can screenshot it right here now let's go over this material one more time so you understand exactly what is happening the top part right here is where the brush metal effect is if i control shift left click on the color wrap here is the result the mix node and the noise texture is is making this noise texture a little bit more random and since breaking up these straight lines underneath that we have the roughness this is a rough map right here and this is plugged directly into the roughness of the principled shader what it's doing is it's taking the white values and adding roughness and where the gray parts are that is going to be a lot more glossy if we take a look at it that is the result that we're getting as for the scratches down here we're taking a wave texture adding another layer of noise on top of that then using a noise texture to take away some parts of the scratches then we're combining that with the brushed metal with the bump and then plugging that into the principled shader to get the bump on the entire thing and there you go that is how you create a brush metal effect in blender i know there are a lot of tutorials on a brushed metal material but i thought this one added another level of detail with the scratches and the roughness so i wanted to share it thank you very much for watching this if you made it all the way to the end and created your own material make sure to send it to me on instagram at blendermapez if you're new to this channel consider subscribing because i upload blender tutorials all the time thanks again for watching and i will see you in the next one
Info
Channel: Blender Made Easy
Views: 11,674
Rating: undefined out of 5
Keywords: blender, blender 2.8, blender tutorial, nodes, materials, metal, brushed, procedural, realistic, blendermadeeasy, animation, beginner, how to, learn, skillshare, 2.9, 2.8, 3.0, cycles, eevee, shader, editor, node, wrangler, advanced
Id: YRKIAdMYcr0
Channel Id: undefined
Length: 16min 2sec (962 seconds)
Published: Thu Sep 09 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.