 Now it's time to start getting this landscape material onto the landscape and start doing cool things with it So if you left off in the same sort of place that I did in the last step You'll still have this material open although it will be saved But now what we want to do is just close it for the time being and Move back to our level editor So you'll see if you're in your materials folder that we have our new material and it doesn't look the same as the previous ones Because it doesn't know which material to show you because it's obviously got four different ones to blend between So you just get this weird kind of cloudy looking thing, but that's fine We know what it is So what we'll do before we can do anything before we can start painting to it is we need to assign this new material to the landscape So what I'll do is just select my landscape and What I'll do is make sure I've also got my M underscore landscape new materials selected in my materials folder And then if I just click on this little arrow here That will swap them over for me and it should Go completely black when it compiles the shaders. It has that's good That's what we wanted to see because at the moment whilst we have assigned this material We haven't told it which textures to use where so we've not done any painting. So that's what we'll do That's what all this video is about really. So that's what we'll move on to now So what we need to do first of all is change the tool set over so back into the landscape tools over here Come on. Hurry up on me. There we go. And this time we're going over to paint because that's what we'll be doing and You can see now that we've assigned that material These four different textures are there waiting for us to paint with them but if we were to try doing that now it just wouldn't work because Unreal needs target layers to store this information as we paint and we need to create one for each of those Textures that we've got in there So doing it's very very easy So for each one of the textures that you want to work with you click on the little plus symbol here And you just click on the weight blended layer and in brackets it says normal That's how I remember it's the one to use because it's the one I would normally use Good good wordplay shame. Okay, so give it a click and it'll ask you what you want to call it and where you want to put it And I'm just gonna Go with the default name and the default location You can see I've also got one there for chapter 4 because I've been working ahead to write this down But at the moment we're gonna do it there. So click on okay And we need to do that for each one so Before we can move on we need four of these There we go easy peasy what we need to do now is get a bit of color on there And the way I always approach this is you could just start kind of painting by hand and putting things where you want But I always like to put down like a base coat as if you're painting something else You don't want to see that black color anywhere because that will make your terrain look rubbish So we're gonna put down a base coat of dirt and then paint on top of that to make sure that there's always something there so to do that all we need to do is Right click anywhere on your dirt layer over here And you'll see that one of the options is to fill the layer with with dirt So if we click on that And wait a second so the shader will need to compile but when it's done you'll get dirt everywhere. So There we go The dirt is there. It was easy. So that is the first step in painting our terrain What we need to do now we start actually using the brushes to add the other stuff so the grass and the rock Okay, so as with the actual sculpting tools for landscape when you're painting your textures That's also an additive and subtractive workflow. So what I like to do So we're gonna go with grass dry first of all my tool strength already set roughly where I want it I'm probably gonna go for something like zero point two. I think And my brush size I'm gonna start at a thousand and twenty four, but I may Raise or decrease that depending on currently what I'm doing So I want to set that up first of all I do want a circular brush and I do want a smooth fall off I want it to be nice and smooth so that blends between other textures nicely I had a hard fall off It would just create really definite edges which is useful in some situations, but it's not what I want here And then what I need to do is Make sure that I can see a good chunk of my terrain like this I'll do it and what I'm gonna do is just slowly. I might just double the size of my brush. I think for this first step 2048 That's better, and I'm just gonna start painting in some grass Kind of in this central area. We'll call it the plateau And you'll see that it starts to build up slowly because we've got the the brush strength on quite low the tool strength And what we want to do is allow that to build up as we continue to paint over So I definitely want to get quite a lot of grass in the middle Like that You just got to be a bit patient and allow this to build up. You can have a stronger tool strength if you want But I'm always wary of overdoing it so This is why I do it this way and what you will notice as well. It's from time to time You'll lose some of the grid squares as it recompiles the shaders because there's more information there for it to work with So it does work with it So something like that and then what I'll probably do is just come in a little bit closer and In some areas, I'll just bring the size of my brush down So I'm using my square brackets for this and I'll just paint Up Into certain areas so the grass is growing up the hills, especially areas that are a little bit flatter So over here definitely wants some cool grass going on Yeah, we go Little bit going on up here. Well, so I want it. Oh definitely up here I think I'll take that all the way up to the top and up here And just any way that you think it's gonna look pretty natural for the grass to look like that. Okay, so Let's just zoom out of that a little bit. I Think that will do it for the first lot of grass So I want to do now is sort of in the central areas where there's more light and more water Whatever will use some of the lush grass. So I'm just gonna increase my brush size if it'll let me there we go and Just I don't want to overdo this and you'll see the shading needs to compile again So I've made it get a little bit more complicated by adding in a Different type of grass and just want to blend in Some of this lush grass in some areas And I might even just bring it in a little bit where we're going up the hill and quite a bit going on in the center Like that so I want to do at this stage just have a little look at how This grass is coming together How does it look within my actual game? Not bad. So I think the sizing is a little bit off which I will change later But I can see that I've got grass in there and it blends between different ones in different areas So that's good Okay, so now what I need to do is get some rock in there So we'll change to the rock layer get a reasonable sized brush and just some areas that we want to be a bit rockier We're going to start to add that in and again, it'll take a Bit of shader compiling again to get this to catch up And I don't want to overdo this because I do want this to blend with the dirt a little bit I think that'll give a more interesting looking Material we just want this to look nice and cool So it's going to be quite rocky as it gets hillier like so So we're not really aiming for this to be perfect. It's going to be quite big you might spend more time painting your Textures in then I'm going to do just in this video because I don't want it to take forever But we'll try and get a Good amount of this in Okay I'm fairly happy with that But what I want to do now Well, it's just sort out the scaling of the textures because I'm not happy with the size I think it's tiling too much So like I did in the the previous material we changed the scale of it to just kind of sort it out So what I'm doing is just running over to somewhere where I can see kind of a Few of the different textures over here looks like a good place And then what I'll do is I'll kind of change the size of it. So there's a good one I think I can see the rock the rock certainly tiling too much So what I'll do to sort that out is I'll just go back to my place mode so that my paint tools Not in the way and I'm going to open up the materials folder Open the landscape and then I'm going to change the scaling of it using the Landscape coordinates node and I've written down in my notes that I quite like to look of a mapping scale of three So I'm going to type that in press enter Save the material Now the thing about not using parameters and the material instance on this which we really should do But I want to go a little bit quicker on this is it will have to recompile Which takes us back to the checkerboard while that's happening, but once it comes in it starts to look pretty nice Okay, so one of the problems that we've got is that the rock texture still looks quite tiled And there are tricks that we could do to break that up within the material or we could blend another rock material in there But by the time we've completed this level you won't really notice it because there'll be trees up there There'll be rocks up there and that'll break it up for us. So we won't spend too much time worrying about that But what we will do It's just have a little run around See if we're liking the grass now. Yep, that looks pretty nice Yep, the rot looks okay over there in the background. We've got a nice blend of materials going on. I'm pretty happy Okay, so that brings us to the end of the landscape section So we've created a landscape now we've created a Sexy material for it and we've painted that around by all means spend some more time being a little bit more kind of creative with this and placing Different materials where you want and in the next steps moving forward when I start bringing things into this level so different assets grasses trees The little hut all that sort of stuff. So I look forward to seeing you moving forward for that Thanks for watching If you really want to take your learning further than I can cover in this series, then I highly recommend checking out plural site They have loads of really detailed video courses covering game art and game development using Unreal Engine 4 When I learned how to use Unreal a couple of years ago This is where I went and I look in regularly to take a new course and improve my skills I recommend checking out the introduction to Unreal Engine 4 course by Joshua Kinney This is really good and offers a good overview of what you can do in Unreal You can get a free 10-day trial by using my link in the video description and you get full access to all of their courses for that time At the end of your 10 days you can either subscribe for more or cancel totally up to you It's got to be worth a free trial though, right? I'd like to say a massive. Thank you to my patrons Your support helps me to keep making videos like this one and I really appreciate each and every one of you It really blows my mind that people will support my channel and my work by pledging their money through patreon So again, thank you all so so much If you aren't already a patron and you'd like to offer your support then please go to patreon.com forward slash Shane Whittington