Dec 2013

Unity Lightning Setup

Unity Lightning Setup

During the tutorial I learned different techniques that are used to set up the game environment. One the following techniques is the lighting.
Lighting is a vital and important because it allows the user to see the environment and bring it to life. Without lighting the environment is dark a gloomy. In previous projects, I already knew how to do lighting, but i wanted detailed lighting i need more lights and stile shadows.

However that uses up a lot of process power and slows the game down. In order light a scene efficiently, Light baking is used. Light baking is using the light maps in your scene and lighting the scene. Shown below is an example of using Light mapping for the environment in Unity 3D.

Screen Shot 2014-01-29 at 17.06.28

Figure 1: Light mapping option showing the baking options

In figure 1 it shows the light mapping option window. In this window you select the settings that you want the light to bake. In the light mapper window you can also see what objects and assets you selected to be light mapped.

Screen Shot 2014-01-29 at 17.06.48

Figure 2: Light mapping option showing the selected Light maps

Figure 2 shows the light maps that you have selected and going to use in the scene.

Screen Shot 2014-01-29 at 17.05.41

Figure 3: Lightmapped probes in the scene.

Above in figure 3 is all the light probes in the scene. This shows you the areas that are going to be baked in the scene. Once the settings are done, the scene is ready to be baked.

Screen Shot 2014-01-29 at 17.09.17

Figure 4: Non baked scene

Screen Shot 2014-01-29 at 17.08.46

Figure 5: Baked Scene End Result

By learning how to light map the environment, it will allow to in the future to create environments and light them efficiently in order to make the game look good and detail but yet not use a lot of process power.

Unity Techniques and Findings

Unity Techniques / Exploration

In this blog, I will be recording any new techniques or findings from tutorials and websites.
I will be using these findings and techniques in future projects.