Now we have an understanding of how these lights work, but so far, they've all been static, non-moving. However, in certain instances, we may want the lighting to change while the game is going on. Let's do that by creating a moving light, in a similar manner to a flashlight!
Before we start working, we should have the
NightScene level opened. This is provided in the
Example Code folder for this chapter that you can get off of Packt's website.
This level is a quick example of a night environment with the lighting reduced significantly. For more information on creating ...