Search Unity

Sun Lightning

Discussion in 'Global Illumination' started by Somenic, Mar 16, 2021.

  1. Somenic

    Somenic

    Joined:
    Nov 8, 2020
    Posts:
    15
    I am making a game and I need to make a sun, no day/night cycle, how can I make it? Because I tried but it won't cast shadows
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Add a directional light and make sure that the Shadow Type enum is set to either Hard or Soft Shadows.

    Also, make sure that your project is set to use shadows in the Project Settings window.