Graphics Reference
In-Depth Information
Using Lighting in the Game Engine
As mentioned previously, lights in the game engine do not affect TexFace objects. Blender materials, however,
can be illuminated in the game engine in real time by lamps. All five Blender lamp types—omnidirectional
lamps, spotlights, area lights, sun lamps, and hemi lamps—work in the game engine and can be animated or
controlled in the same way as other objects.
Illuminating many objects in real time can slow things down. Furthermore, the quality of the illumination
depends on the density of the mesh being illuminated, as shown in Figure 14-74 . The only difference between
these setups is the number of times the mesh is subdivided. High numbers of vertices, of course, become a liab-
ility for speed of game play.
 
Search WWH ::




Custom Search