Any advice to optimize shadow look in UE game using console variables

Good morning,

I’m new in this forum and I’m not sure if this is good place to put such questions for advice but I’ll try to explain.

I’m writing this question because this is Unreal Engine forum and I hope there are a lot of people who knows how lighting and shadows works in UE. I have problem in game that is build based on Unreal Engine 4.22.3. The problem is with the shadows and I’m looking the way how I can improve it using console variables until Developers will find a way to fix it. I’m not expert in UE and I have no competence to tell if this is possible to fix with some settings in UE using console variables or this is not possible to fix because it is the UE limitation or Game Developers did something wrong.
I recorder a Video in Assetto Corsa Competizione where I’m showing what problem I have here:

The shadows that come from fences is breaking immersion in this game because I see a line where more detailed shadows are appearing. What I would like is to have this detailed shadows of the fence to be visible from larger distance. Currently it is changed (to more detailed version) just in front of the car.

I created file scalability.ini and from game logs I see that when I set Epic details in game those options (from file) are applied. But I can’t find any good variables or values that will fix the problem with the shadows. The best solution so far I found was to turn shadows off completely by setting r.ShadowQuality to 0. But I have hope that there is some variable and value combination that can help me have those shadows as I wanted. I’m using such console variables for setting the shadows.



Do You have any advice for me (if this is possible) what variables I should try and what values to fix this running shadows problem in front of car? Also do You know if I can enable in game UE console. Currently the tilde key is not working. Maybe it is possible to turn it on somehow so I can experiment much more effectively with different variables from documentation.

Thanks in advance and I hope my post is ok for this forum.