How to get rid of floating shadows at distance.

You could enable Inset Shadows for those meshes to get rid of that problem. I’m not sure if inset shadows or increasing shadow quality with console commands would be better for performance so you’ll need to try and see for yourself. Also, put the commands in Engine > Config > ConsoleVariables.ini.

I am making a top down view kind of game, almost birds eye view setup, so everything is fairly large and far away from the camera. UE4 really optimizes the shadows at such distances, so I feel like I am working against it. But its pretty good as it is, just wish it was “perfect” to my eye.

Here are some pictures to show the issue:

As you can see when zoomed in the edges are crispy and accurate, at distance they “float” and have rounded corners.

My questions is, has anyone tackled this problem? If so how did you solve it? I’ve been playing with the console r.Shadow.* settings for a while but can’t find anything that would let me force the camera/engine to always show shadows at close-up quality.

My console settings to get the current result are as follows (some might not be doing anything):

Thank you!

Inset shadows doesn’t seem to do anything. I think there is a settings somewhere that determines camera distance in relation to most accurate shadow settings being rendered (since I am getting accurate shadows when I zoom in).

I will move those to .ini thank you!

Ok, I am not sure what I did, but I’ve created a new project tweaked lights for a while, and now inset shadows create sharp shadows just like desired. Thank you!

Attaching screenshots: