How to add lighting to 2d scene

I’ve read in a few places that it’s possible to add lighting to your 2D scene, but can’t seem to figure out how to do it. I’ve just added some 2D sprites to the scene and added a point light. Any help would be appreciated.

You must assign a material/shader that supports light sampling, like Sprites > Diffuse. As far as I know the default sprite shader simply applies self-illuminated (emissive) shading.

1 Like

Okay, I put a transparent diffuse texture on it and it works . . . ish. I get some really strange behavior when light will stop at the edge of the next sprite over. Also, I can’t seem to get shadows to work. Still, progress. :slight_smile:

I am not sure, but isn’t shadow casting only available for mesh renderers?