Procedural Sandstone Material (Blender Tutorial)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this tutorial i'm going to show you how to create this procedural sandstone material in blender now if you'd like to purchase the tutorial files then you can get that over on my gumroad store and also my patreons will have access to the project files so if you'd like to check out my gumroad and patreon i'll have the links in the description and that's a really great way to help support me and this channel and if you'd like to check out more of my procedural materials then you can check out my blender procedural material packs or if you'd like to learn how to create all of my procedural materials then you can check out my tutorial playlist on youtube and then also before we start i want to give a huge thanks to sketchfab for sponsoring this video upload and preview your own 3d models on sketchfab my favorite feature of sketchfab is that you can preview 3d models online in your browser you can also purchase models and assets from sketchfab's model store you can use the model inspector to preview the wireframe mat cap textures and more before you purchase you can also apply to sell your own 3d models check out sketchfab with the link below now in the 3d space i just added an icosphere and i subdivided it and then shaded it smooth and then also for the lighting um over here in the world settings i added in this machine shop zero to 1k hdri and this is from polyhaven.com so the link is in the description if you'd like to download the same hdri that i'm using and then i also added in this mesh object right here and i gave it an emission material to give some nice bright lighting on our object and if you're using blender ev you could also just add a regular light and then i will also be using the node wrangler add-on in this tutorial so if you don't have that enabled you can just go to blender's preferences and under add-ons you can just search for the node wrangler add-on and just enable that and i'll show you how to use it in the video so let's just add a new material and i can just call this sandstone so i'm going to press shift a and i'm going to search for a musgrave texture so let's just drop the musgrave texture right here and then using the node wrangler add-on if i hold down the control and shift key i can click on nodes to preview them and then i also want to select the musgrave texture and i'm going to press ctrl t again using another feature from the node wrangler and that is going to add the texture coordinate and mapping now i don't actually need the mapping so i'm going to click on it and then press x to delete it and then i want to use the object coordinates so i'll plug the object into the vector and that'll place the texture around the object more evenly so on the musgrave texture i'm going to turn this detail all the way up to 15 so it has more detail in there and then i'll turn the dimension down to zero and you can see when i turn it down it starts to add all this little grainy detail in there now i want to use a different texture to actually distort the placement of this texture so i'm going to press shift a and again i'm going to search for a noise texture and we're going to drop the noise texture in between the connection of the texture coordinate and the musgrave and so what the noise texture is doing is it's distorting the musgrave texture and then i'm going to turn the scale up to 6 on the noise and i'll turn the detail up to 15 so it has lots more detail and then i'll also turn this roughness value all the way up to 1 so it has a lot more detail so now if you zoom in here we just have tons of little detail there in our texture so let's now take this black and white data this height value and we're going to plug that into the base color of our principle and then i can control shift and click on the principle to preview it now that doesn't look anything like sandstone so i want to press shift a and i'm going to search for a color ramp and we're going to drop the color ramp right in here between the musgrave and the principled and then we can change the colors in the color ramp and that'll change the colors for the texture so i'm going to select the black tab and then right here i can change its color so i'm going to make it a bit brighter and then i'm going to make it a brown color and if you'd like to use the same exact color that i'm using i'll show you all the hex values for these colors so for this first one if you click over on the hex value you can type in seven eight four three two three so just kind of a nice brown color then i'm going to hold my mouse right about here and i will hold down the ctrl key and click and that is going to add a new tab and then this one i also want to be a brown color so let's make it a brown color but i want to make it just slightly brighter and also slightly more red and the hex value for this one is nine eight five one two six and then i'm gonna do the same thing right around here so i'll control and click right in here and that'll add a new tab and then this one i want to be kind of a peachy color and i'll bring this one over kind of going towards the orange values but it's still going to be not super saturated so more towards the white and the hex value for this color is a value of f09467 so this is starting to look better but this is sandstone so i do want to make it look kind of like sand so i want to add a yellow value so on this last one here this white one i'm going to click on the color and i'm going to make it a yellowy color and this yellow color will be pretty saturated but not super saturated and a little bit more orange and the hex value for this one is ff9d44 now you can see that this material is actually pretty shiny and i don't want it to be that shiny because this is sandstone so it's going to be pretty dry so i'm going to turn this roughness here the roughness value to 8.7 so it's much less shiny so that is looking pretty cool but i want to give it some bump because right now the material is still very flat so the first thing that i want to do is i want to give it some bump to make it look like there's little bits of sand so to do that i'll press shift a and i'm going to search for the voronoi texture and i'll drop the voronoi down here and then again i want to plug the object up to the vector on the voronoi then to preview what this is looking like i can control shift and click on the voronoi and you can see this voronoi texture has a bunch of little dots kind of randomly placed around so we're going to use this to look like little bits of sand now i want to turn the scale up to something really high like a 300. so now if you zoom in really close you can see there's just little bits of sand and that looks quite nice so now i want to put this into the normal so what i'm going to do is take the distance value and i'm going to put that into the normal now this is black and white data but this needs to be normal data so if i control shift and click on it you can see there's some shading issues and that's because we haven't converted this to a normal data so to convert this black and white data to normal data i'm going to press shift a and i'm going to search for the bump node now we're going to drop this bump node right in here between the distance and the normal and then what we need to do for this black and white data is we need to take the distance and put that into the height and that'll actually convert it to normal data so if you zoom in there you can see now it looks like it's bumping out now currently it actually looks like the little grains of sand are kind of going back in and i don't really want that so i'm going to click on the invert button and now it looks like it just has a bunch of little dots and then it is really quite strong right now so i'm going to turn the strength value down to a 0.3 so it's much less strong and if you zoom out now you can see there's a bunch of surface detail over that material now i also want to give it some general noise all over the place and i'll put that through the bump as well so i'm going to press shift a and i'm going to search for another noise texture and let's drop the noise texture down here and then just like all of these textures i want to put the object into the vector and then let's control shift and click on the noise texture so that we can preview that so i'm going to turn the scale up to 15 and then i'll turn the detail all the way up to 15 so it has a bunch of detail and then i'll also turn the roughness up to 0.6 and you can see adding more roughness gives it a little bit more detail so i now want to take this bump node and i want to press shift d to duplicate it and i'm going to stick it right in here between the connection so we now have two bump nodes and the first bump is going into the normal of the second bump so we now have this other height value that we can add data into so i'm going to take the factor this black and white data on the noise texture and i'm going to plug that up to the height so if i control shift and click on this bump you can zoom in here and you can see it's adding a bunch of detail all around now i don't want the invert to be turned on so i'm going to click on this to turn the invert off and then i can back up here ctrl shift and click on the principle to preview it and you can see now there's just a bunch of little noise all around the material so we are actually almost done but there's one more thing that i want to do i want to give it some larger bumps so i just want to give it some more randomness just some bigger bumps here and there just to make it a little bit more organic and natural so i'm going to press shift a and i'm going to search for one more noise texture and i'll just drop the noise texture down here and then just like all the other ones let's plug the object coordinates up to the vector and then i can control shift and click on the noise texture to preview it now for this last noise texture i actually don't want very much detail because i'm going to use this noise texture to make the material look a little bit lumpy so i'm going to turn the detail down to zero and when i turn the detail down to zero now you can see that that noise texture is much more smooth and then i'll also turn the scale up to eight so there's a little bit more of that texture so i can now do the same exact thing so i can plug this noise texture into the bump so i'm going to take this bump node and i'll press shift d to duplicate and i'm going to drop it right down here so then the normal can go through the normal so now we have another height value so we're going to take the factor from this last noise texture and we're going to plug that into the height so if i now ctrl shift and click on this you can see this is what it's doing so it's adding in some bumps here and there so let's control shift and click back on the principle to preview that and you can see that it is a bit too strong so on this strength right here i'm going to turn it down to like a .15 so now you can still see it like right here you can definitely see that there's some bumps here and there but it is much more subtle and that is it for the procedural sandstone material so i'll just give this a final render alright and there is the finished rendered material so thank you for watching this tutorial and i hope you found it helpful and again you can purchase the tutorial files on my gumroad store or you can also get them if you join my patreon and you can also check out my blender procedural material packs if you'd like to purchase more procedural materials and that is a great way to help support me and this channel and if you'd like to create more procedural materials then you can check out my blender procedural material playlist on youtube so thanks for watching and i hope to see you in a future tutorial
Info
Channel: Ryan King Art
Views: 3,331
Rating: undefined out of 5
Keywords: Ryan King Art, Blender Tutorial, Blender, Ryan King, Tutorial, sand, sandstone, procedural, material, shader, blender, Procedural Sandstone Material, rock
Id: jFSFh5hBMck
Channel Id: undefined
Length: 10min 0sec (600 seconds)
Published: Mon Dec 13 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.