How to run a console command every time the Engine runs?

Hello,

I enter r.RayTracing.Culling 0 in the console every time when I run the engine. Please let me know hot to save it and not enter every time?

  1. Into a project.
  2. Into a whole engine.

Thank you very much.
Alex

I think you can put it in DefaultEngine.ini, no?

you throw it into the config or execute a console command on begin play. ez

or you execute it whenever you need the culling disabled. it can change at runtime. hmmhmm

Oh cool, gotcha. Thank you for your anser. That’s cool - it will let me optimize somewhere where it’s needed.

Yeah, ineed, I just haven’t changed anything yet in the DefaultEngine.ini and didn’t remember the name of the file. Thank you for your reminding. I probably will do it at this stage to keep culling always off.

1 Like