Hogwarts Legacy feature 2

Here is how you can significantly improve the quality of Ray Tracing Shadows, Ambient Occlusion & Reflections in Hogwarts Legacy

One of my biggest issues with Hogwarts Legacy was its Ray Tracing effects. Even when using the game’s Ultra RT settings, these RT effects can be underwhelming. Thankfully, PC gamers have figured out ways via which they can significantly improve the quality of these Ray Tracing effects.

For starters, the view distance for the Ray Tracing Shadows is a bit low, even on Ultra Settings. As a result of that, there are some truly awful pop-in issues when exploring the game’s open-world environments.

Hogwarts Legacy - Major Pop-in issues with Ray Tracing Shadows

Furthermore, Ray Tracing Ambient Occlusion appeared to be broken in our initial tests. For whatever reason, Avalanche has used some really low-quality settings for it. Hell, you can even see the screen-space AO artifacts, even when enabling RTAO.

Hogwarts Legacy - Ray Tracing AO is broken and not working correctly

To be honest, I didn’t mind the quality of the RT Reflections. However, the RT Shadows and the RTAO were huge disappointments. And, thankfully, you can increase their quality.

All you have to do is open the game’s Engine.ini file, located in “C:\Users\USERNAME\AppData\Local\Hogwarts Legacy\Saved\Config\WindowsNoEditor”, and use the following settings.

[SystemSettings]
r.RayTracing.Reflections.ScreenPercentage=100
r.RayTracing.Reflections.SamplesPerPixel=1
r.RayTracing.Reflections.MaxRoughness=0.7
r.RayTracing.AmbientOcclusion.Intensity=1

Do note that these tweaks will bring an additional performance hit. Still, they currently resolve all of the issues we had with the game’s RT implementation, so that’s a big plus.

Reddit’s member Knochey, who has discovered this, shared the following comparison screenshots. And, as you can see, the visual improvements that these tweaks bring is enormous. The Default RT screenshots are on the left, and the modified RT screenshots are on the right.

Hogwarts Legacy Default RT-1Hogwarts Legacy Modified RT-1 Hogwarts Legacy Default RT-2Hogwarts Legacy Modified RT-2 Hogwarts Legacy Default RT-3Hogwarts Legacy Modified RT-3

UPDATE:

After testing these tweaks, I can confirm that RTAO now looks significantly better. However, there are still noticeable pop-in issues when using RT Shadows. So, for the time being, I suggest using only RTAO and RT Reflections.

10 thoughts on “Here is how you can significantly improve the quality of Ray Tracing Shadows, Ambient Occlusion & Reflections in Hogwarts Legacy”

  1. I copy-pasted the settings to no effect. I still get the Default RT. Every RT option is set to ULTRA in game menu. Am i doing something wrong?

    1. Nvm, i had to add another line to get the distant shadows:

      “r.RayTracing.Culling=0”

      But apparently this leads to severe stuttering in some scenes :/

      1. I haven’t noticed any stuttering but it brings a major performance hit. IMO, the best improvement is the RTAO (which now actually works the way it was supposed to).

      2. actually it doesnt, it still a hybrid solution where ssao is still present and when you move the camera the effect will go away along with the camera.

  2. John, can you test this settings paired with the ones you posted?

    [System.Settings]
    r.RayTracing.Reflections.Hybrid=1
    r.RayTracing.Reflections.MaxRayDistance=12000

    Hybrid blend Ray Traced reflections with SSR where possible, improving performance – IIRC, Metro Exodus uses this, as well as Control.

    ScreenPercentage reduces the rendering resolution of RTReflections to half, dramatically increasing performance, but resulting in flickering around reflective surfaces, so with a substantial visual cost. Don’t know if the default for Hogwarts is 100, so maybe setting it to 100 might improve the RTs alot. EDIT: Saw it was already presented on the post.

    MaxRayDistance lowers the maximum distance the rays will trace, improving performance – interesections with geometry further than the threshold won’t have RT reflections, however. Lowest I see work to good results in RT games is 2000 – I reckon it can be increased to higher numbers to improve quality.

    MaxRoughness is default roughness threshold, but lowering this setting will offer substantial performance gains. The lower this value is, the more frequently it will fall back to other raster methods for rendering reflections.

    Credits for Wessberg post on Reddit, almost verbatim.

      1. Same and 3080 can’t really handle 4k ultra + RT all. I need to use performance dlss if I wish to have good frames

Leave a Reply

Your email address will not be published. Required fields are marked *