aboutsummaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2022-05-21 16:49:30 +0200
committerGitHub <noreply@github.com>2022-05-21 16:49:30 +0200
commitdc45b85a543b4c8ad72f69a554ecfe7f0a60c533 (patch)
tree348a20f17c19d8e886ca669e339a7f4875aa7778 /builtin/settingtypes.txt
parenta4ef62f5b215fe0f23e3e50672f1538854db4ed9 (diff)
downloadminetest-dc45b85a543b4c8ad72f69a554ecfe7f0a60c533.tar.gz
minetest-dc45b85a543b4c8ad72f69a554ecfe7f0a60c533.tar.bz2
minetest-dc45b85a543b4c8ad72f69a554ecfe7f0a60c533.zip
Improve shadow filters (#12195)
* Rewrite shadow filtering for the new distortion * Calculate penumbra radius using a single sample * Avoid peter-panning effect due to filtering of short shadows * Add adaptive filter quality for soft shadows * Avoid sharp shadows on surfaces without normals (e.g. plants) * Increase default and maximum soft shadow radius * Make line numbers in shader errors match the code
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index ff69d9741..3f6f6c9fc 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -631,8 +631,8 @@ shadow_update_frames (Map shadows update frames) int 8 1 16
# Set the soft shadow radius size.
# Lower values mean sharper shadows, bigger values mean softer shadows.
-# Minimum value: 1.0; maximum value: 10.0
-shadow_soft_radius (Soft shadow radius) float 1.0 1.0 10.0
+# Minimum value: 1.0; maximum value: 15.0
+shadow_soft_radius (Soft shadow radius) float 5.0 1.0 15.0
# Set the tilt of Sun/Moon orbit in degrees.
# Value of 0 means no tilt / vertical orbit.