Topic: 2D lighting for shadows

Based on my own tests and also from a lot of Unity forum posts, it seems like the Sprite Renderer doesn't work with shadows from normal 3D lights.

So I was wondering if anyone here working on a sprite-based 2D fighter knows if this would work for shadows under sprites we use with UFE2:

https://assetstore.unity.com/packages/t … -2d-112535

Or if you have any experience with other ways of achieving shadows with 2D sprites, I'd really appreciate any details on how it was achieved.

Basically, I'm just looking to achieve simple shadows that look like in the old 2D Mortal Kombat games (MK1 to UMK3), but preferably without having to manually draw them into every frame. (Back then it looks like what they did was take the shape of the actual sprite and squish/angle it and make it all black with lowered alpha. Obviously a more 3D-imitating technique would look better but we're open to any techniques that do what they did too.)

Share

Thumbs up Thumbs down

Re: 2D lighting for shadows

I use this forum topic to help with my 2D shadows

http://www.ufe3d.com/forum/viewtopic.php?id=1827

Share

Thumbs up Thumbs down