Introduction
This article shows how to create a terrain and add trees and grass in Unity
Prerequisites
Unity Environment version 2017.4.40f1
Create the project
To get started, we need to go to the hierarchy. We're going to select 3D object and we're going to select terrain.
The first thing we need affects our terrain, so you can use your wheel on the map and the mouse wheel to zoom in and out.
This is our terrain. The next thing we need to do is go to the asset store.
Basically, import the standard assets, or you can actually add individual asstes as you go along. Let's go to the search bar and type standard assets. After that, make sure you go to the filter make sure you uncheck the on sale. Scroll further down make sure you select free and then view results scroll and this is the standard assets we are going to use click once and then scroll down and select import gives some time until you import all the assets. This time, the process will take a bit of time so you can actually post this video and resume. Once your assets have been imported successfully, go to your project and select import.
You have successfully imported the standard assets. Now you can go back to the game. You have the scene here, so the next thing we need to do is basically some grass to our terrain. To do this, you need to click on the the little brush.
You need to edit textures and then add a texture. We're gonna click here select and then we're going to type the word grass here. Then we're gonna select grass rock and double click.
Next select add. Now we have the grass rock. We're going to also edit textures again add a new texture.
We're going to type again the word grass and this time we're gonna put a grass hill. Double click here to select.
Increase the brush size and make sure you select the grass this grass. Then you can actually start painting.
The grass is the next thing we need to do. Select this option that says raise lower terrain. Click once for brush size 100.
Now I could actually click and drag increase the basic terrain.
If you would like to lower the terrain you can hold the shift key down and then basically click-and-drag to lower the terrain so without holding the shift key down you raise in the terrain by holding the shift key down you're lowering the terrain.
The next thing we need to do is add some trees, so we're going to select this option here and then select any trees. When we select a tree, we're gonna click on this little option.
Then we're gonna basically go through and add some trees who we have some trees here so select a broadleaf, double click it, and click add trees.
Now I could actually just click there once, but to click there again takes a bit of time. Don't go crazy with adding the trees because your computer has to render all this information. I'm just gonna select edit trees again and select and click on this little option.
I'm gonna select the next tree available and click add I'm gonna add different trees. I can edit the trees are trees I'm gonna add another type of tree, the conifer. Double-click
Click Add and then we can put some conifers around the terrain. This is how you create a terrain a 3D world terrain using Unity 3D.
Summary
I hope you understood how to create a terrain, add trees and grass in Unity