Download

FPS Color

When I click “Show FPS” it shows the FPS with green color, if it is below 30 then it is yellow, and if less then red. But I have a strong gpu that gives high fps results which most players wouldn’t get. I’d like to make it yellow when below 70 fps and red when below 60. Where can I set those FPS amounts to affect its color?

You have to modifiy these two config variables:
t.UnacceptableFrameTimeThreshold
t.TargetFrameTimeThreshold

By the default they are 50ms (20 fps red) and 33.9ms (29 fps yellow)

You can modify them through console or you can call ExecuteConsoleCommand function node in your PC or GameMode blueprint BeginPlay event

Thanks, that worked.