Fog: Make fraction of visible distance at which fog starts configurable
authorLars Hofhansl <larsh@apache.org>
Sun, 4 Dec 2016 05:43:25 +0000 (21:43 -0800)
committerparamat <mat.gregory@virginmedia.com>
Wed, 7 Dec 2016 04:07:54 +0000 (04:07 +0000)
commit075833e39368e63e06889f21140f816420e83541
treec40d5390e23bbe87a8672f44e8c51649d3331091
parent9714cdcf4ba51b44cca72e133ec5ef2a3c9f50f6
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
client/shaders/nodes_shader/opengl_fragment.glsl
client/shaders/water_surface_shader/opengl_fragment.glsl
client/shaders/wielded_shader/opengl_fragment.glsl
minetest.conf.example
src/defaultsettings.cpp
src/game.cpp
src/shader.cpp