I’m working on web version of our released game and have problems with performance in window mode. I know, that maximum perfomace is capped in web player window by UT, but how exactly this cap is working? Shouldn’t it just decrease FPS to 50-60 and leave it as is, if it’s initially smaller than 50-60?
Right now i’m testing game on slow machine. Web player inside of browser gives 10 FPS and impossibility to play. When i switch to fullscreen, i get ~20 FPS, that’s much better. But why this happens? These numbers are small enough to not be affected by browser capping.
It caps at around 25fps from what I could see. If it’s going slower than that maybe you’re doing too much work for it to run well alongside the web browser itself, which needs some time for page rendering and user-interaction stuff?
Windowed games run slower than fullscreen games in general, since in windowed mode, the computer needs to render both the game and the entire windows desktop + other applications, while in fullscreen there’s only one app to render so it’s simpler. That’s basically been true for all windowed / fullscreen games ever, so you’re not doing anything wrong yourself, it’s just the way it works.
I’ve had webplayer games run up to 60 Hz, which is the refresh rate of my monitor.