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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Problem with pixel count lights on HDRP

Discussion in 'High Definition Render Pipeline' started by nitro0198, Sep 21, 2022.

  1. nitro0198

    nitro0198

    Joined:
    Dec 11, 2020
    Posts:
    5
    Hi guys, im doing an interior museum using HDRP to have a realistic scene but there is a problem. In the scene i have 84 lights, 82 area lights and 2 point. How can i resolve it?

    You can see the video of the problems by these links:

    https://ufile.io/ssqr9y76

    https://ufile.io/ss2qotht
     
  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    504
    Hello,
    In your HDRP asset settings, you can change the limit of lights on the screen at the same time, per category:
    upload_2022-9-22_13-55-25.png

    By default it is 64 for area lights, so if you end up having all 82 in the camera frustum at some point, some of them might get kicked out.
    Depending on the number of lights that cast shadows, you might also want to tweak the maximum shadows on screen : upload_2022-9-22_13-56-43.png
     

    Attached Files:

  3. nitro0198

    nitro0198

    Joined:
    Dec 11, 2020
    Posts:
    5
    Thank you very much!