From 533e167197dccb473b3ed1cc7b8105080a5924b4 Mon Sep 17 00:00:00 2001 From: Patrick Dulebohn Date: Thu, 18 Jan 2024 09:26:21 -0500 Subject: [PATCH] Fix FovX value Adjusts the X fov formula in the Post Effects Mod to make GUIs the proper width --- korman/properties/modifiers/game_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/properties/modifiers/game_gui.py b/korman/properties/modifiers/game_gui.py index 9f44a18..affdc86 100644 --- a/korman/properties/modifiers/game_gui.py +++ b/korman/properties/modifiers/game_gui.py @@ -471,7 +471,7 @@ class PlasmaGameGuiDialogModifier(PlasmaModifierProperties, _GameGuiMixin): post_effect = exporter.mgr.find_create_object(plPostEffectMod, bl=bo) post_effect.defaultC2W, post_effect.defaultW2C = exporter.gui.convert_post_effect_matrices(camera_matrix) - post_effect.fovX = math.degrees(fov) + post_effect.fovX = math.degrees(fov * 1.15) post_effect.fovY = math.degrees(fov * (3.0 / 4.0)) post_effect.hither = min((hither, yonder)) post_effect.yon = max((hither, yonder))