1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-04 01:05:48 +01:00

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:
Lars Hofhansl
2016-12-03 21:43:25 -08:00
committed by paramat
parent 9714cdcf4b
commit 075833e393
8 changed files with 43 additions and 12 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.