Control Your Lighting in Unity Using Light Layers

When working with High Definition RP, one must keep in mind to avoid unnecessary waste. In this specific case, we are talking about light layers. That is, an optimization tool to make sure that light is projected only on some specific elements.

To do this, the first thing we have to activate this function from the settings folder for HDRP that we have in the project.

Finally, we just need to select any light in the scene and click on the small setting icon, in the top right corner to assign it a corresponding light layer.

See you in the next article 🚀



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrea Alicino

Andrea Alicino


Unity developer and C# programmer. Currently looking for games industry employment.