Search Unity

Problems with PointLigth

Discussion in 'Global Illumination' started by amandag3, Jun 17, 2019.

  1. amandag3

    amandag3

    Joined:
    Jun 14, 2019
    Posts:
    5
    So I'm trying to use lights in my game and I have a problem with it, everytime I try to use more than a point light in a scene it seems like they can't work together proprely. Don't know why but just one is shining and the others, that were shining before are no longer. Anyone know why and how can I fix this?
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    If you are using a Forward renderer, make sure that your Pixel Lights amount is set to a sensible number - https://docs.unity3d.com/Manual/class-QualitySettings.html

    You could also try switching to a Deferred renderer, which doesn't have this limitation, but it is more expensive performance-wise.

    Also, if you happen to use mixed lights + shadowmask lighting mode, make sure that too many of your lights don't overlap. You can verify this is the shadowmask scene debug view mode.