Search found 6 matches

by squeaksci
22 Aug 2019, 17:56
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 27
Views: 4810

Re: Using a reshade black frame insertion shader fx?

No instructions, either the program applies BFI to the primary monitor or it fails. My code definitely isn't working with multi-monitors, and I'm not able to hook up a 2nd monitor to this computer so I'm flying a little blind trying to fix that. I made a small change that might make it work, but I'm...
by squeaksci
22 Aug 2019, 15:50
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 27
Views: 4810

Re: Using a reshade black frame insertion shader fx?

That one was just 60hz, sadly, I don't have a second high-refresh monitor. This one is 120hz.
by squeaksci
22 Aug 2019, 15:40
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 27
Views: 4810

Re: Using a reshade black frame insertion shader fx?

Alright, I updated with Chief's polling suggestion, it fixed the flickering on my other computer, though I couldn't test any games on it. I hope it works! Same download link: https://github.com/squeaksci/desktopbfi/releases
by squeaksci
22 Aug 2019, 12:07
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 27
Views: 4810

Re: Using a reshade black frame insertion shader fx?

Thanks, that means a lot to me! I was lucky to find good code examples to borrow from. The blanking inverval event was the hardest part for sure, I've wondered for a long time how you're supposed to do that without a library like SDL. I used DwmFlush() at first, then only found D3DKMTWaitForVertical...
by squeaksci
21 Aug 2019, 12:06
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 27
Views: 4810

Re: Using a reshade black frame insertion shader fx?

I got it to work! It's a tiny C++ program, if you want to compile it, it uses the Windows Driver Kit for a v-sync function. Github page: https://github.com/squeaksci/desktopbfi Download, if you're comfortable running a program from a stranger: https://github.com/squeaksci/desktopbfi/releases Problem...
by squeaksci
19 Aug 2019, 12:27
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 27
Views: 4810

Re: Using a reshade black frame insertion shader fx?

Oh, that's interesting. Do you happen to know of any software or something along those lines that implements hz based BFI instead of frame based? A few days ago, I learned about BFI in Retroarch and fell in love, but also can't find any software to get BFI elsewhere. I have an idea though - I figur...