Where do i set a CVAR?

Id like to change the variable for the volumetric fog grid size (r.VolumetricFog.GridPixelSize 3) … but i have no idea where i can set this? (Note i am using Unreal for rendering / capturing a sequence so im not ‘playing’ a game)…

Thanks in advance (sorry for the noob question).

You can use the ‘console command’ node. Does that work for you?

Ive not tried that but i did just find out you can execute console commands as part of a Sequence setting output… which resolves my issue.

If you want to set any default CVar value, you need to set it in Engine.ini under [ConsolVariables].
E. g.:

[ConsoleVariables]
fx.Niagara.ForceLastTickGroup=1
Interchange.FeatureFlags.Import.FBX=True
5 Likes

Your syntax is correct, but you need to put this in DefaultEngine.ini, in the config folder of the project.

1 Like