Page 1 of 1

Smooth scrolling for higher refresh rates

Posted: Sat Jan 18, 2025 12:29 pm
by waitofaiorur
TL;DR
Support high-refresh monitors for smoother visuals and less eye strain without changing the game logic.
What?
The game needs just to render a bit more into the direction of movement. The GPU displays the map and fine-scrolls it for each “micro-frame”.
In between the game-updates a vehicle or player doesn’t change speed, so the GPU can also render the micro-frames with the moving vehicles/players.

From: viewtopic.php?p=553473#p553473

I couldn't find a good hardware survey that included refresh rate, but sales numbers do suggest that an increasing amount of gamers do use high refresh monitors: https://github.com/rutujalavhale11/Mark ... -Market.md

I do not suggest that the whole game should run at a higher refresh rate. Only that it should be compatible and take advantage if possible.
Unfortunately I have noticed stutters when using a higher refresh rate, even at 120hz which in theory should just draw the same frame twice.

Factorio is also the only game in my library that requires native 60hz. This adds a little threshold before I can play the game.
Why?
Reduce eye-strain, improve smoothness and increase compatability.