Download

Adding console commands to .ini files?

Hi,

I have a couple of console commands that I use to improve the Temporal AA:

r.TemporalAACurrentFrameWeight 0.2 
r.TemporalAASamples 4
r.Tonemapper.Sharpen 0.8

I’d like the project to start with these (and compile with them) every time instead of having to input them into the console. Can I place them into one of the engine configs, or perhaps execute them in the level blueprint?

Thanks :wink:

Hey, shure,… simple Thing… Check this post out →

1 Like

Thanks, that worked. :wink:

For future readers:

  1. Navigate to projectfolder\Config\DefaultEngine.ini
  2. If the following line isn’t present, add it:

[/Script/Engine.RendererSettings]

  1. Under it, add your console commands.
r.TemporalAACurrentFrameWeight=0.2 
r.TemporalAASamples=4
r.Tonemapper.Sharpen=0.8

Remember to add an equals sign (=) where you would write a space in the console, eg. FrameWeight 0.2 → FrameWeight=0.2, otherwise it won’t work. :wink:

2 Likes