Creating an enemy
Now that we can take pictures, let's create an enemy to take pictures of! We will perform the following steps:
The first step to adding in an enemy is to import the assets required to use it. Inside our
Chapter 6\Assets\Ghost Model
location, you'll find a series of files.First, let's create the material for our new mesh. To do this, go into either the
1024 Textures
or2048 Textures
folder, and move the files into theMaterials
folder. Afterwards, navigate to Create | Material, and give it the nameGhostMaterial
. Change the Shader value to Bumped Diffuse, and move theGhost_Tex
file into theBase
andGhost_TEX_NRM
file in the Normalmap selection. You'll get a warning indicating the texture isn't marked as a normal map; feel free to click on Fix Now, or go back into the file, and change its Texture Type value toNormal map
. The following screenshot shows the Unity screen with these changes:Now, move to the Models folder on the Project tab, and drag-and-drop the Ghost_mesh...