Game Development Reference
In-Depth Information
7.
Click on the Tomato mesh to see its crossed planes in the Inspector
(Figure 2-57 ).
Figure 2-57. The crossed planes of the tomato mesh
8.
Select the Terrain, and open the Place Details module.
9.
From Edit Details, select Add Detail Mesh.
10.
This time, try dragging the Tomato prefab directly into the Detail field instead
of using the Browser.
Other than the regular parameters, you will find a new one here, Render Mode. The choices are
Vertex Lit and Grass. Vertex Lit is for meshes that do not use opacity for any of their textures. Grass
is for meshes that use opacity. Vertex Lit meshes will not be able to bend in the terrain wind that
you will try in the next section. Detail meshes like rocks or cactus are good choices for Vertex Lit.
“Grass” meshes may or may not be affected by terrain wind, depending on how they were prepared.
11.
Tone down the Healthy Color and Dry Color.
12.
For the Render Mode, select Grass.
13.
Click Add, and select the Tomato from the Details previews.
14.
Paint some tomato plants around the terrain, clicking rather than dragging to
avoid overpopulation. (The settings for your grass should persist.)
The other Render Type in Detail Meshes is Vertex Lit. It does not support alpha channels. Rocks,
succulents, cactus, and other substantial meshes are most appropriate. Unlike Paint Trees, there is
no density restriction, so use this tool carefully.
1.
Load the River Rock asset in as a new Detail Mesh.
2.
Set the Random Width and Random Height to 0 each.
3.
Set the Render Mode to Vertex Lit.
Search WWH ::




Custom Search