aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorlhofhansl <larsh@apache.org>2022-11-18 11:49:52 -0800
committerGitHub <noreply@github.com>2022-11-18 11:49:52 -0800
commit7bf64fc61a6094733f9a9a9401d6f03a8f10edeb (patch)
tree97bb227395eeb012a7b40dd2e5cf8a2a6c5c72c5 /builtin
parentdac05a500ecf32385a63a03ab8a34b568c63b884 (diff)
downloadminetest-7bf64fc61a6094733f9a9a9401d6f03a8f10edeb.tar.xz
Add configurable saturation (#12865)
* Add configurable saturation Co-authored-by: Pevernow <3450354617@qq.com> Co-authored-by: x2048 <codeforsmile@gmail.com> Author: Lars <larsh@apache.org>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index cb6fee79d..845564264 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -366,6 +366,15 @@ enable_shaders (Shaders) bool true
# enhanced, highlights and shadows are gradually compressed.
tone_mapping (Filmic tone mapping) bool false
+# Adjust the saturation (or vividness) of the scene
+# Values
+# < 1.0 decrease saturation
+# > 1.0 increase saturation
+# 1.0 = unchanged saturation
+# 0.0 = black and white
+# (Tone mapping needs to be enabled.)
+saturation (Saturation) float 1.0 0.0 5.0
+
[**Waving Nodes]
# Set to true to enable waving leaves.