From 2f079c4f324b293a87b6006de8a380831698317a Mon Sep 17 00:00:00 2001 From: lhofhansl Date: Sat, 3 Dec 2016 21:43:25 -0800 Subject: [PATCH] Fog: Make fraction of visible distance at which fog starts configurable Optimise the fetching of global settings 'camera_smoothing', 'cinematic' and 'cinematic_camera_smoothing'. Cache 'cam_smoothing'. --- builtin/settingtypes.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index b1f3105..10db478 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -529,6 +529,9 @@ ambient_occlusion_gamma (Ambient occlusion gamma) float 2.2 0.25 4.0 # Enables animation of inventory items. inventory_items_animations (Inventory items animations) bool false +# Fraction of the visible distance at which fog starts to be rendered +fog_start (Fog Start) float 0.4 0.0 0.99 + [**Menus] # Use a cloud animation for the main menu background.