1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-05 17:15:09 +00:00

Increase the default Camera3D field of view to 75

A vertical FOV of 75 degrees is roughly equivalent to a 91 degree
horizontal FOV on a 4:3 display (~107.51 degrees on 16:9),
which is close to the typical default FOV used in PC games.

Note that this doesn't apply to the in-editor camera which keeps its
FOV to 70. This is because it doesn't display in fullscreen;
its viewport only displays in the center of the editor (roughly).
This means the viewport won't cover the viewer's eyes as much. Therefore,
the editor camera FOV should be slightly lower to account for this.

Since this changes the default value, this may break existing projects
slightly.

For the record, this was already done in
https://github.com/godotengine/godot-demo-projects/pull/260
for the official demo projects.
This commit is contained in:
Hugo Locurcio
2020-04-26 15:41:19 +02:00
parent 7899b3e734
commit ccc4f3899c
3 changed files with 8 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ public:
Camera() {
visible_layers = 0xFFFFFFFF;
fov = 70;
fov = 75;
type = PERSPECTIVE;
znear = 0.05;
zfar = 100;