FPS Cap with Frame Pacing

  • Posts: 2
8 months 1 week ago - 8 months 1 week ago #1 by sp82
Hi everyone,
I don't know how ReShade work internally but I would like to know if it possible to implement a fps cap shader that do also frame pacing. This could give much more smooth gameplay for some games.
I need to cap the fps just 2 fps below the max refresh rate because my monitor is one of the bad freesync monitors that have brightness flicker at max refresh rate. I have to use with vsync-on with adaptive sync just below the max refresh rate of the monitor.

Please Log in or Create an account to join the conversation.

  • Posts: 8
8 months 3 days ago #2 by AlucardDH
It may be possible to do it by making a quantity (based on the previous frametime and the target frametime) of "useless" calculations.

Please Log in or Create an account to join the conversation.

  • Posts: 8
7 months 2 weeks ago #3 by AlucardDH
Here is a simple shader to set a target fps to your liking :
raw.githubusercontent.com/AlucardDH/dh-r...rs/dh_framepacing.fx

It can not prevent stutters for the game engine but it'll try to keep your fps at selected target.

Please Log in or Create an account to join the conversation.