Search Unity

Spotlight Team Best Practices: Setting up the Lighting Pipeline

, August 28, 2018

Unity offers several rendering pipelines, two Global Illumination systems, four Lighting Modes, three Light Modes, two Shadowmask Modes, etc. This tremendous flexibility allows you to create projects targeting high-end PCs and console, as well as mobile and XR devices. However, the number of options can be overwhelming if, for instance, you are new to Unity, aren’t familiar with rendering jargon, or are accustomed to renderers with a very tight set of features.

A few months ago, in May 2018, I joined the European Spotlight Team based in the UK. Our mission is to closely support high-profile developers and push the envelope of Unity. One of my other roles is to help creators to get the most out of Unity. During my career as a game lighting artist, I have principally worked with game engines with fully locked and ultra optimized rendering pipelines, therefore I understand the multitude of lighting features and permutations in Unity can initially seem daunting. This is why I wrote a new best practice guide: Setting up the lighting pipeline in Unity.

I have created several diagrams, decision flowcharts, and tables to give you a high-level perspective of the lighting pipeline and to help you decide which render pipeline and which global lighting settings would best suit your project. As an amuse-bouche of what you’re about to see in the guide, have a look at this diagram giving you an overview of the whole lighting pipeline for every step along your lighting journey in Unity:

In the guide, I essentially focus on the first four main steps, from the selection of a rendering pipeline to the addition of lights. Later on, I present several project examples, such as a mobile strategy game, an AAA corridor shooter and a battle royale. Optimal settings and recommendations for these scenarios should help you get started on the right foot.

After you read this guide, you should have a good understanding of the different render pipelines available in Unity and their lighting settings. Let’s get started!

13 replies on “Spotlight Team Best Practices: Setting up the Lighting Pipeline”

I think this is the most comprehensive guide on lighting that I have ever read. A big thank you for this!
Could you re-upload a high definition resolution for the diagram images? Text is not so clear in every diagram.
Thank you!

Tiny omission: HDRP has forward and deferred also. In the future, deferred will also be added to LWRP.

Firstly, thank you very much for your idea to create a cycle on lighting. This, in my opinion, is the most difficult for me, as for a beginner in Uniy. Secondly, thank you for starting with an explanation of the terms, it helps a lot. And finally, could you also show an example of choosing lighting settings in real time for the open world :) I understand that this is the most difficult, but also the most interesting. Thank you.

Comments are closed.