-
-
Save dontdieych/7be10f472c310b26be091c2d94b01669 to your computer and use it in GitHub Desktop.
simple 0.5x prescaler for mpv, best combined with "--cscale=bilinear --scaler-resizes-only --window-scale=0.5"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //!DESC acme-0.5x | |
| //!HOOK LUMA | |
| //!BIND HOOKED | |
| //!WIDTH HOOKED.w 2 / | |
| //!HEIGHT HOOKED.h 2 / | |
| //!WHEN HOOKED.w 2 % ! HOOKED.h 2 % ! * | |
| //!OFFSET 0.25 0.25 | |
| vec4 hook() { | |
| return HOOKED_texOff(vec2(-0.25,-0.25)); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment