Specific 2D Shadowing Question
Hi! I require some assistance with Unity's experimental 2D lighting system. I figured out how to create a light, how to use normal mapping, and other basic stuff like that, but I'm looking for a more realistic version of the raycast-like shadowing the system has. Ideally, I would essentially like to take how far from a light an entity is, mirror it's sprite along the x axis, make is transparent and black, angle it in the right direction, and ideally stretch it to make it more realistic. Now I understand this is quite complicated, but really the main problem is I don't know how to make a shadow look like the sprite, rather than simply a cone stretching out of existence. For the record, I've tried combining sprites, using transparent sprites, creating custom mesh scripts, and raycasting, though I'm not sure I did the raycasting right. Does anyone have any ideas?