Skip to content

Commit 6441910

Browse files
committed
That weird FOV multiplier that always ruins your day
1 parent b0b7243 commit 6441910

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

code/graphics/shadows.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ void shadows_render_all(fov_t fov, matrix *eye_orient, vec3d *eye_pos,
644644
cockpit_fov = Sexp_fov;
645645
else
646646
cockpit_fov = COCKPIT_ZOOM_DEFAULT;
647+
cockpit_fov = cockpit_fov * PROJ_FOV_FACTOR;
647648

648649
matrix light_matrix = shadows_start_render(eye_orient, eye_pos, fov, cockpit_fov, gr_screen.clip_aspect, Shadow_distances);
649650

0 commit comments

Comments
 (0)