Game Development Reference
In-Depth Information
Figure 4-6. The Advanced option for the texture importer
2.
Reset the Texture Type to Texture.
Let's look next at bump maps. If you are new to the term, bump maps add information that is used
by the renderer to make 3D meshes look like they have more detail than they actually do have. They
use the bump colors to determine where the light and shadows would go if the mesh did have the
extra triangles or faces. As you may guess, it does add to the frame rate, but far less than if the
mesh itself had the detail. Traditionally, a bump map was grayscale. White was bump forward, and
black was bump backward.
Modern shaders now use what is called a normal map . The “normal” is a direction perpendicular to
the face or triangle, pointing the direction that the face will be rendered (Figure 4-7 ).
Figure 4-7. The face normal of a triangle
 
Search WWH ::




Custom Search