Throughout the level, we have been using basic lights just to give our work in progress some illumination. In this section, we are going to transform our lighting into something that seems more realistic for our theme and communicates it to the player. Proper lighting is something that is important to make a scene or environment seem believable. It can make an audience feel anxious or scared, and create a sense of tension. It can communicate danger or safety. In games, it can even be a game mechanic. In our scene, we are going to use lighting to communicate a sense of mystery and a tension that something just might be going on beyond the player's ability to see.
To create this feel, let's think about what we might need. Plunging our corners into shadow and limiting the player's line of sight can go a long way to making them think that something might be stalking them, just out of sight. Using different colored lights to denote danger and safety can communicate those things to the player and thus create or relieve tension. Just like when we were gathering inspiration from online images to help with item placement, images from other games, and especially real life, can help with figuring out the right lighting for your level. Unreal provides a few different types of light to help us achieve these goals. PointLights are a type of light we are already familiar with. They cast light in all directions from a fixed point in space. Next we have SpotLights. These lights throw light in a cone shape toward a target point. This can be used to highlight specific things in an environment. Lastly, we have DirectionalLights and SkyLights. These are large light sources that create a universal amount of light throughout the level. DirectionalLights are often used to create the sun or moon in an outdoor environment. For each type of light, the Details panel provides several options for tweaking the intensity, shadows, falloff, and color. Ready to add some emotion to our environment?
250
.0
does not have any falloff at all and is at full intensity. We want the light to not be much more than what might be put out by a computer screen. Let's set it to 250
.150
:Make sure to build your level and play it to check out your fully-lit bridge. Once you are happy, apply some of the same techniques we learned to the hallway and the second room, our cargo bay. Remember we are going for tension and mystery. Since these areas are outside our "safe" bridge, I like to use red and yellow light. Now let's add some fun interactive elements to our level by making the doors and elevator work.
3.144.242.235