From 541df26184370c890e925adffc06a13d528d1906 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 25 Nov 2017 23:48:30 +0100 Subject: [PATCH] Tweak the default camera node settings - Increase FOV to 70 - Put the Z-near plane at 0.05 meters --- scene/3d/camera.cpp | 2 +- servers/visual/visual_server_scene.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scene/3d/camera.cpp b/scene/3d/camera.cpp index 8c7d0c23c36..abc4a03498f 100644 --- a/scene/3d/camera.cpp +++ b/scene/3d/camera.cpp @@ -649,7 +649,7 @@ Camera::Camera() { current = false; force_change = false; mode = PROJECTION_PERSPECTIVE; - set_perspective(65.0, 0.1, 100.0); + set_perspective(70.0, 0.05, 100.0); keep_aspect = KEEP_HEIGHT; layers = 0xfffff; v_offset = 0; diff --git a/servers/visual/visual_server_scene.h b/servers/visual/visual_server_scene.h index d075be76ca7..9af5ffb74d9 100644 --- a/servers/visual/visual_server_scene.h +++ b/servers/visual/visual_server_scene.h @@ -120,9 +120,9 @@ public: Camera() { visible_layers = 0xFFFFFFFF; - fov = 65; + fov = 70; type = PERSPECTIVE; - znear = 0.1; + znear = 0.05; zfar = 100; size = 1.0; vaspect = false;