- Home /
Unity 2D. How to cast shadows?
Is there any way to make sprites in Unity 2D cast shadows? In case they are walls, for example. Point lights just expand everywhere. I'm kind of newbie in 2D lighting, so any hint will be appreciated.
Comment
Best Answer
Answer by jceipek · Jun 20, 2014 at 04:59 PM
Unity's 3d lighting system isn't going to be much help by default; they work using occlusion in 3d. 2d shadows need to be implemented as geometry or custom shaders. This thread should help you get started with 2d shadows: http://forum.unity3d.com/threads/2d-dynamic-shadows.165283/
Your answer
