Search Unity

Resolved 2d URP lighting not effecting tilemaps

Discussion in 'General Graphics' started by puddleglum, May 10, 2023.

  1. puddleglum

    puddleglum

    Joined:
    May 11, 2020
    Posts:
    412
    for some reason tilemaps in my wolrd seem to exist in this layer that is just not effected by light, at all, here is with global light set to 1
    upload_2023-5-10_2-56-16.png
    here it is with a spotlight on the player set to 100 and layers set to all
    upload_2023-5-10_2-56-41.png


    idk whats wrong,
    the tilemaps around the player seem to just not be effected by spotlights or global lights,

    - edit ok i solved it im kinda really dumb,
    anyone else looking to solve this, the material set on the sprite renderer or tilemap renderer is sprite-default not sprite-lit-default
     

    Attached Files: