Search Unity

Resolved Shadows behaving weirdly when adding lights (URP)

Discussion in 'General Graphics' started by KaiXGT, Jun 6, 2021.

  1. KaiXGT

    KaiXGT

    Joined:
    Feb 12, 2021
    Posts:
    13
    In my project, I'm trying to add lights in an indoor environment. When I add the lights, the shadows behave weird, almost as if they were being cut off by the parts that made up the walls of the building.

    Right now I'm using point lights, and when I were using spotlights it still behaved in the same way.

    Here's how it looks:

    upload_2021-6-6_12-11-19.png
    upload_2021-6-6_12-12-52.png

    Any help is appreciated, thank you :d

    Update two days later:
    Merging objects with ProBuilder also helps with this problem
     
    Last edited: Jun 8, 2021
  2. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    Try increasing the maximum # of lights per object setting in your render pipeline asset ?

    Edit: i.e. in Project window, pick whichever if you haven't created your own for example UniversalRP-HighQuality then change this:
    per_object_light_limit.jpg
     
    KaiXGT likes this.
  3. KaiXGT

    KaiXGT

    Joined:
    Feb 12, 2021
    Posts:
    13
    Initially, the max per object limit was already set as high as it can go. As I was messing around with my lights, I set their render mode to important and that seems to fix the issue.

    Thanks for your input! :d
     
    adamgolden likes this.