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

Bug Grounds light shader keeps dissapearing

Discussion in 'Shaders' started by Blink42f, Aug 9, 2023.

  1. Blink42f

    Blink42f

    Joined:
    Apr 16, 2022
    Posts:
    9
    So Im'a be honest, I got no idea what is happening. At very limited angles is the ground showing correctly which you can see in the image below But often the floor will look like the one on the bottom, all black. Ground.PNG L.PNG
     
  2. Blink42f

    Blink42f

    Joined:
    Apr 16, 2022
    Posts:
    9
    I have seemed to find the reason why but am still not sure how to fix it.

    You can see when the range of the light in the hallway is set to a range of 16.1, the light in the bedroom which is set to 20 overrides this light. And when I change the hallway light to a range of 16.2 you can see the hallway light then overrides the room light, I want them to just blend in together, not override each other.
     

    Attached Files:

  3. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    625
    Hi, it looks like your BiRP project has reached the maximum additional lights allowed in scene.

    You can either switch to Deferred rendering path or increase the pixel light count in project settings to solve this.
     
    Blink42f likes this.
  4. Blink42f

    Blink42f

    Joined:
    Apr 16, 2022
    Posts:
    9
    Thank you so much! It worked, crazy how I thought this was a crazy problem when all I had to change was 1 number. Cheers :)
     
    wwWwwwW1 likes this.