Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question What's wrong with Realtime lights?

Discussion in 'Universal Render Pipeline' started by Digitex1, Dec 8, 2021.

  1. Digitex1

    Digitex1

    Joined:
    Aug 28, 2017
    Posts:
    41
    Hello,

    Project set up in URP forward rendering.

    I'm learning on a scene that has multiple rooms and I noticed that the few lights that are set to real-time (Types: spot light and point light) do get turned ON and OFF depending on the camera position and orientation. Please, check this quick video:



    What's the reason for that? I'm aware that URP has a limit of 8 lights per object. But, there are no rooms with more than 4 lights sources (spot light). In fact, most of the spot lights sources are set to Mixed Lights, and light is baked (Mode: Substractive). But, I'd like to add some more realtime light on top of the baked light.

    Any help please?

    Kind regards,
     
  2. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    436
    try setting the additional light / per object Limt to higher that 5 as the main dir light may count as one also
     
  3. Digitex1

    Digitex1

    Joined:
    Aug 28, 2017
    Posts:
    41
    There is no main directional light in the scene because those are interiors.

    Already set to 8 - check the joined screenshot
     

    Attached Files:

  4. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    631
    Is it caused by some kind of Occlusion Culling?o_O