Control Your Lighting in Unity Using Light Layers

Objective: Control Your Lighting in Unity Using Light Layers to avoid the cost of performance.

Why do we do this time we want to lie to a player like this light reflects with a red billboard but we don't want actual light to produce real light which will increase performance by using real-time calculation and bouncing with objects to create realistic light effects.

In the first step, I will create two spots of light and place the spotlight lighting toward my tube.

Then I will change my spotlight appearance to color, then I will adjust its colors to green.

Now Go to HDRP Renderer Assets Setting <Lighting, and turn on Light Layers.

Select Spotlight <Inspector< Light component, then right-click three dots and choose to show Additional Properties. This will pop the option of the core Renderer pipeline, now go to Visibility and adjust the option by choosing Visible All. Now you will see the option of a Light layer in a general component in the inspector now select nothing then select layer 1 to all spotlight.

Now Increase the intensity to ten thousand or more.

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
Suleiman Abdullah

Self taught Unity Developer, who is passion about making games ,and he loves Math For Game Development