Skip to content

Conversation

thearst3rd
Copy link
Member

@thearst3rd thearst3rd commented Jun 23, 2025

Currently, if you have an ultrawide monitor, the fixed-horizontal field of view means you're going to see the same amount horizontally, and it's only going to cut off the top and bottom. It'd be a lot better if a wider monitor fixes the vertical field of view in place and allows you to see more horizontally. This pull request makes that the case - if you are playing in an aspect ratio higher than 16/9, then the vertical FOV will be fixed and the horizontal FOV will expand, looking much more natural.

Comparison screenshots: (for whatever reason I picked 1920x720 as the aspect ratio for the ultrawide shots, which is 8:3 and not a ratio that I've heard used at all lol but it gets the point across)

Before After
4:3 (1280x960) should look the same` before-4-3-2 after-4-3
16:9 (1280x720) should look the same before-16-9 after-16-9
Ultrawide (1920x720) before-ultrawide after-ultrawide

These screenshots serve to demonstrate how anything below 16:9 looks exactly the same (this does not sacrifice vertical FOV when playing in 4:3, for example), and for anything higher than 16:9, the vertical FOV matches 16:9 and the horizontal FOV is expanded naturally.

I make this PR for the selfish reason of: I visited my family this weekend, they have an ultrawide monitor setup and mbu looked bad on it so now is the time to fix it lol

Code mostly ported from PQ's MBExtender hax. Don't have the exact credits so: Copyright (c) 2017, The Platinum Team

Potential future work: clamp UI elements to remain inside a 16:9 box

@HumanGamer HumanGamer merged commit 5c0d4ec into master Aug 21, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants