Search Unity

Question 2d lights not working on any tile shape

Discussion in '2D' started by techninja80, May 12, 2023.

  1. techninja80

    techninja80

    Joined:
    May 6, 2023
    Posts:
    4
    I have a Global light 2d added to my scene, and I also have a simple sprite shape added as well. No 2d lights have any affect on any sprite shapes. Well that screams I am doing somethign wrong. After some research I found I have to use default-diffuse as my material. Well that was pink, then I upgraded it to URP even though I am in a URP project. Well its no longer pink but I still have no lights affecting any sprite shapes. Can someone please point me to the check box I need to toggle to get this to work. Thanks in advance.

    Version I am using is 2021.3.24f1 . This is a simple 2d URP project. With literally 4 objects in a brand new scene to not much to mess up.

    Sorry for the repost from General question. I could not figure out how to move the post.
     
  2. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    need to use sprites lit shader
     
  3. Xiangting_Su

    Xiangting_Su

    Unity Technologies

    Joined:
    Sep 22, 2020
    Posts:
    253