I already spent a couple of hours but I couldn’t find a solution for my problem.
The project I’m working at is a simple side scrolling game like Super Mario and here I’m struggling with the shadows.
I really like the sharp shadows the directional light is casting in the following scene:
I want exactly these sharp shadows but they should simply fade out with the increasing distances from the platform meshes to the floor meshes.
With photoshop I tried to recreate the scenery roughly to what I want the result look like:
This is what I mean about fading shadows with increasing mesh distances. If there would be a next higher platform there should be no shadow anymore.
It’s a simple problem but with all the lighting options in Unreal Engine I couldn’t find a proper solution.
Do you have some ideas? Thanks alot!