Search Unity

Bug 2D Spotlights flickering depending on camera position?

Discussion in '2D' started by Amarodil, May 20, 2023.

  1. Amarodil

    Amarodil

    Joined:
    Jan 25, 2019
    Posts:
    16
    Hello there, I have a problem with my light setup for my project. It is best explained in the video below:



    Basically I have 2 Lights on every Obstacle. One for the foreground and a background light. For some reason when moving the camera in certain scenarios and only certain positions the lights start flickering. In the uploaded image is my Lighting setup. I enabled alpha blend cause often some lights overlap when the player moves on them and I dont want the light to get too bright.

    What could be the cause of this? Any way I can fix it? Is it maybe because of too many lights or them overlapping?

    I appreciate any help alot! Thank you!
     

    Attached Files: