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'.
This commit is contained in:
lhofhansl 2016-12-03 21:43:25 -08:00 committed by Nils Dagsson Moskopp
parent 0299519ca9
commit 2f079c4f32
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 3 additions and 0 deletions

View File

@ -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.