How to set r.ScreenPercentage-setting in shipping build at runtime?

Hello,

I am making a VR-game and in VR it’s usually in the settings possible to set an setting to render the frames in a higher resolution, like 140%, e.g. to reduce flickering. I think the console-command for this would be r.ScreenPercentage 140 (yes?). Now my question is how to set this option in a shipping build at runtime? There is a SetResolutionScale-function in the GameUserSettings-class, but the maximum you can enter there is 100% (it is clamped in C++). And as far as I know, console-commands do not have any effect in shipping builds.

Does anyone know how to make this?

Thanks in advance,

Thilo

1 Like

You can run console commands with this node

image

I assume this is just an exposed CPP call?

1 Like

does this still work in shipping builds?

Yes.

1 Like