Creating the terrain
Unity terrain is essentially the ground in your game environment; it is your landscape. Unity has several tools that we can use to create, shape, and customize the terrain. Â We will use those tools later in this chapter.
For our game, we will use a terrain that was created from a height map and then edited in Photoshop. If you are interested in learning how to accomplish this, read the Importing the terrain section. Otherwise, you can skip this brief section and resume with the section on importing the terrain.
Working with height maps
You will find a lot of free height maps with a simple internet search. Once you have the one you want, perform the following steps:
Note
This subsection is not required and only provided for informational purposes. The game's terrain file will be provided along with instructions on how to incorporate it in our game.
- Open PhotoShop and select
File
|New
. Use the following settings:
Component | Setting |
Width | 512 pixels |
Height | 512 pixels |
Resolution | 72 pixels... |