Lighting is a complex topic and there are several possible ways to handle it, with each one having its pros and cons. In order to get the best possible quality at the best performance, you need to know exactly how your renderer handles it, and that is exactly what we are going to do in this chapter. We will discuss how lighting is handled in Unity's Universal Render Pipeline (URP), as well as how to properly configure it to adapt our scene's mood with proper lighting effects.
In this chapter, we will examine the following lighting concepts:
- Applying lighting
- Applying shadows
- Optimizing lighting