Game Development Reference
In-Depth Information
Shader programming—Diffuse and
bump (normal) map
From the last step, we have a FBX model ready to use in Unity. In this step, we will import
Chapter3.unitypackage (which is already included in the FBX model that we export
from the 3D Studio Max), and begin creaing a shader programming, which will include all
properies that we can edit from the Material Inspector . We will start with assigning the
difuse and bump (normal) map. Then, we will use the Lambert lighing model, which comes
with Unity, to see our result.
Prepare for Lift Off
Now, we can start the shader programming by implemening the following steps:
1. Let's create a new project named Shader similar to that in the last chapter and click
on the Create Project buton, as shown in the following screenshot:
2. Import the assets package by going to ( Assets | Import Package | Custom
Package… ), choose the Chapter3.unityPackage , which we downloaded
earlier, and then click on the Import buton in the pop-up window, as shown in the
following screenshot:
 
Search WWH ::




Custom Search