Browse Source

Fix FovX value

Adjusts the X fov formula in the Post Effects Mod to make GUIs the proper width
pull/399/head
Patrick Dulebohn 4 months ago
parent
commit
533e167197
  1. 2
      korman/properties/modifiers/game_gui.py

2
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))

Loading…
Cancel
Save