Game Development Reference
In-Depth Information
Figure 2-29. Adding lights to your scene
Note See from Figure 2-29 that I've applied the GameObject parenting principle I recommended for
environment meshes. All scene lights are grouped as children beneath a single, parent GameObject.
Once you've created a lighting setup you're happy with, it's time to lightmap. As mentioned in the
previous chapter, I've docked the Lightmapping window as a tab alongside the Object Inspector
so I can view it easily beside the Scene and Game tabs. You may like this arrangement, too. From
the Lightmapping window, open the Bake dialog. Here is where you'll control how the lightmaps are
generated (see Figure 2-30 to see the settings I've used). The points that follow explain some of the
options available and the reasons behind my decisions.
 
Search WWH ::




Custom Search