Game Development Reference
In-Depth Information
4.
Turn the Dry Color and Healthy Color to white and grey.
5.
Click Add, select the River Rock Detail mesh, and click in a few places to get
a good cover of rocks (Figure 2-58 , left).
6.
From Edit Details, select Edit and change the Random Width and Random
Height to 3 (Figure 2-58 , middle).
The rocks scale in a large fractal noise pattern, with the smaller rocks around the edges.
7.
Adjust the Random Height value up and down to see the results before setting
it back to 3 .
8.
Take the Noise Scale slowly up to 0.75 and back down to watch the scale of
the noise pattern get smaller (Figure 2-58 , right).
Figure 2-58. The River Rock evenly painted (left), with random Width and Height set to 3 (center), and with the Noise Scale
adjusted (right)
9.
Click Add to close the Edit window.
10.
Hold the Ctrl or Cmd key down, and lightly paint over the rocks to thin them out.
Terrain Plants and Wind
Wind in Unity is not a simple scene addition. Wind is added to grass and detail meshes through the
Terrain Settings section under Wind Settings.
1.
Click Play, and switch back to the Scene view.
2.
Zoom in to watch the grass and tomato plants wave back and forth.
3.
Adjust the Speed, Size, Bending, and Grass Tint to see how the Grass
texture and Grass Detail meshes react.
Terrain trees require a Wind object for movement. The Bend Factor setting acts as a multiplier.
4.
From the GameObject menu, Create Other, select Wind Zone.
5.
Select the Terrain object again.
 
Search WWH ::




Custom Search