Game Development Reference
In-Depth Information
Notice the effect of the following cubemap texture (hall in Rome) and 2D texture
applied on the cube model as shown in the following figure:
Summary
In gaming applications, textures are the key factors that affect the performance as
well as the look of the game. The size of the texture and intelligent use of concepts,
such as mipmapping, will decide how your game would perform. Also, we learned
how to map texture coordinates to vertex coordinates, which is a very important
concept to control the overall memory footprint of your objects in the GPU. If you
plan to use open source WebGL libraries to create your games, these concepts will
come in handy as you might have to tweak them to get the last bit of performance
from your game.
In the next chapter, we will learn about the different types of camera used in 3D
games. We will also write a new Camera class to view our world in 5000 AD with
different perspectives.
 
Search WWH ::




Custom Search