1. Terrain rendering
2. Terrain Map
3. Planting of plants
4. Implementation of other details
In Unity 5, the default import resource bundle is empty, such as:
Don't worry, you need to go to Asset Store to download:
Once the download is complete, you can import standard Assets.
The first tool can achieve the convex and concave effect, select the corresponding brush, set the desired brush size and the strength of the brush, left-click on the terrain can be drawn, hold SHIFT + Left button is the treatment of the sunken, making the dent can be the brush to adjust the small point.
The effect is as follows:
The second tool can change the height of the terrain and can be used to trodden down a terrain.
The effect is as follows:
The third tool is the silky height, which is to make the ground more smooth.
As follows:
The fourth tool is to draw the texture, after the training is finished, you need to add some textures, you need to use the fourth tool to draw the terrain texture.
When you click Add Texture, the following dialog box pops up:
Select a terrain texture, click Add, the effect is as follows:
You can add a variety of textures, such as adding grass materials, drawing in the terrain, and setting the brush size, intensity, and blending before drawing.
A fifth tool is used to draw trees on the terrain. Click Edit Trees, and then click Add Tree.
The following dialog box pops up:
Select a Game object, click Add, you can set the added Trees:
Parameters and the meaning of their representation:
Brush Size: Brush sizes
Tree Density: Density of trees
Tree height: height of trees
Lock width to Height: lock widths to heights
Tree width: The width of the trees (not selectable when locked, the width of the tree can be set in a non-locked state)
Random tree Rotatio: The rotational randomness of a tree
If you want to add a large number of trees in the scene, you can click Mass Place Trees, pop up the following dialog box, by changing the number of the value of the Trees to determine the final tree planted in the scene, you can also remove the unwanted tree by SHIFT + left key.
When planting a tree in a scene, you don't have to worry about the tree hovering or inserting too deep into the ground, and the Unity engine itself automatically adjusts to the height of the terrain.
The sixth tool is to draw the details of the meadow.
Select the Sixth tool to draw the lawn and add a grass texture.
Pop-up the following dialog box to select the response grass. The following parameter values can also be modified to suit your needs. You can also make adjustments after the drawing is finished. Click the Add button.
When the grass is selected, left-click to draw in the scene. We can use PhotoShop to draw the lawn, save it .psd
in a format, and then import it into Unity.
The sixth tool is a set of terrain details. The specific parameters are the tolerance of grid optimization, map distance, setting of halo graph, etc.
Unity Terrain Foundation