Unity light with Tiled prefabs

Hi, I just started using Tiled with Unity and I wonder if I an make the prefabs react to light. I need a night day system, so I really need to make the prefabs generated wit Tiled to react to light. I tried to just put the light in the scene but nothing happened. Anyway, can someone help me with this? Thanks in advance.

Hi Israel. It sounds like you need a shader on on the prefab that reacts to light. The default Sprites/Diffuse shader can do that for you.

You’ll need to make sure that ambient lighting is turned off and that any other lights you have in your scene are close enough to your map to affect them.

I assume you’re using Tiled2Unity but even if you’re not the advice still holds.

To fix this issue, you need to turn on “pixel snap” in the Renderer Material of your object and turn of anti aliasing in Edit/Projectsettings/Quality