What should I change in the code so that the filter works correctly with large-format screens?
I have a 2560 by 1080 monitor, I want it to display a picture as 1920 by 1080 with black stripes of 320 pixels. I made a crutch solution, but now everything shifts sideways if you open the game on a 1920 by 1080 monitor.