Search Unity

Resolved how to make a real-time sun with a point light?

Discussion in 'Global Illumination' started by kij_od_miotly, Apr 10, 2023.

  1. kij_od_miotly

    kij_od_miotly

    Joined:
    Jan 27, 2022
    Posts:
    25
    i'm trying to make a sun, but whenever i make the light range to large nothing has shadows even if i turned on them on.
     
  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Increasing the range of a point light (or spot light) reduces the shadow map's accuracy. You can try increasing the light's shadow resolution and see if it helps.

    I suggest using directional light (with shadow cascades) instead if possible.