diff options
author | Lars Hofhansl <larsh@apache.org> | 2016-12-03 21:43:25 -0800 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-12-07 04:07:54 +0000 |
commit | 075833e39368e63e06889f21140f816420e83541 (patch) | |
tree | c40d5390e23bbe87a8672f44e8c51649d3331091 /builtin | |
parent | 9714cdcf4ba51b44cca72e133ec5ef2a3c9f50f6 (diff) | |
download | minetest-075833e39368e63e06889f21140f816420e83541.tar.gz minetest-075833e39368e63e06889f21140f816420e83541.tar.bz2 minetest-075833e39368e63e06889f21140f816420e83541.zip |
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'.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index b1f31054e..10db4787d 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. |