How to disable Lumen Screen Traces & Short Range AO?

Hi there,

I’m working on a stylized scene, but the lumen Screen traced GI together with short range AO creates some results that does not fit the style.

2023-09-02_GrassWithoutScreenTraces2

There are two command that gives the result I am looking for:

  • r.Lumen.ScreenProbeGather.ShortRangeAO 0
  • r.Lumen.ScreenProbeGather.ScreenTraces 0

But this does not get disabled during Play time. Is there a way to work around this and have these features disabled during play?

Any help would be greatly appreciated
Laurens

1 Like

To disable during play would likely require changing the engine’s .ini, there are good guides to that but I don’t want to risk giving bad advice.

1 Like

That’s it! You just need to execute those console command at the beginning of your game, in your Level blueprint, for example.

2 Likes

To get these settings automatically on startup and in-game. Simply add these to your DefaultEngine.ini located in the Config folder of your project.

(Note - [/Script/Engine.RendererSettings] should already be present in DefaultEngine.ini.)

[/Script/Engine.RendererSettings]
r.Lumen.ScreenProbeGather.ShortRangeAO=0
r.Lumen.ScreenProbeGather.ScreenTraces=0

Hope this helps!

3 Likes

It should also probably be said that this is not an ideal solution for games: the screen traces resolve a lot of issues with the SDFs or proxy mismatch, and only the highest scalability with the lumen scene using nanite GI truly makes screen traces redundant. Your scene time could go up significantly without screen traces.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.