Skip to content
Snippets Groups Projects

Cap FOV on 2 players splitscreen

Closed Latapostrophe requested to merge cap-splitscreen-fov into next
1 unresolved thread
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -678,7 +678,12 @@ void R_ExecuteSetViewSize(void)
fov = FixedAngle(cv_fov.value/2) + ANGLE_90;
fovtan = FINETANGENT(fov >> ANGLETOFINESHIFT);
if (splitscreen == 1) // Splitscreen FOV should be adjusted to maintain expected vertical view
{
// fovtan needs to be capped, otherwise high base fov values may cause software to have weird looking stuff to the sides of the screen -Lat'
fovtan = 17*fovtan/10;
if (fovtan > 121417)
fovtan = 121417; // fovtan's value at 95 fov, beyond that it looks weird.
Please register or sign in to reply
}
projection = projectiony = FixedDiv(centerxfrac, fovtan);
Loading