My hero walks on a platform. The shadow under the hero is just semi-transparent sprite. Shadow should be visible only on platform’s surface. When platform ends, shadow should not be visible. How to do this?
The game is 2D. Platform is made with use of tilemap.
Thanks in advance for your help.