Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    [ViewDistanceQuality@3]
    r.SkeletalMeshLODBias=0
    r.ViewDistanceScale=2.0

    [ShadowQuality@3]
    r.LightFunctionQuality=1
    r.ShadowQuality=5
    r.Shadow.CSM.MaxCascades=10
    r.Shadow.MaxResolution=4096
    r.Shadow.MaxCSMResolution=4096
    r.Shadow.RadiusThreshold=0
    r.Shadow.DistanceScale=1.0
    r.Shadow.CSM.TransitionScale=1.0
    r.Shadow.PreShadowResolutionFactor=1.0
    r.DistanceFieldShadowing=1
    r.DistanceFieldAO=1
    r.AOQuality=2
    r.VolumetricFog=1
    r.VolumetricFog.GridPixelSize=4
    r.VolumetricFog.GridSizeZ=128
    r.VolumetricFog.HistoryMissSupersampleCount=16
    r.LightMaxDrawDistanceScale=1
    r.CapsuleShadows=1


    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.
    Marcin
Working...
X