https://github.com/xcuri0/blackframe-insertion
Black frame insertion for OpenGL applications
https://github.com/xcuri0/blackframe-insertion
c ldpreload linux opengl
Last synced: about 2 months ago
JSON representation
Black frame insertion for OpenGL applications
- Host: GitHub
- URL: https://github.com/xcuri0/blackframe-insertion
- Owner: xCuri0
- License: mit
- Created: 2017-07-18T04:52:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T11:38:50.000Z (almost 9 years ago)
- Last Synced: 2025-05-16T17:13:17.249Z (about 1 year ago)
- Topics: c, ldpreload, linux, opengl
- Language: C
- Size: 8.79 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Black Frame Insertion
This **LD_PRELOAD** library inserts black every other frame to reduce motion blur. Works with any OpenGL game uses glXSwapBuffers. The game may be darker and there may be flickering which could annoy some people. It is recommended that you increase backlight brightness , enable VSync and if possible use a 120+hz monitor to prevent flickering and dark images.
### Compiling and running
Compile using `gcc -Wall -fPIC -shared -o blackframe.so main.c -lGL -ldl` and run with `LD_PRELOAD=blackframe.so **GAMEEXECUTABLE**`. All games that use glXSwapBuffers are supported and EGL support is planned in the future. Since this game injects code into the game some anti-cheat software may get you banned.
## Contributing
Just submit a pull request or create an issue of whatever you want. If you are making a pull request be sure to keep the code looking clean and not messy.
If you think that this software is not garbage and has been useful to you then consider donating bitcoin to
[1Curio6aUa7wQeekAChqoyGF6tB7fXpSZW](https://blockchain.info/payment_request?address=1Curio6aUa7wQeekAChqoyGF6tB7fXpSZW&message=donating+to+Curi0)