diff options
| author | x2048 <codeforsmile@gmail.com> | 2022-09-29 20:34:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-29 20:34:05 +0200 |
| commit | 9df79a4b2d68979c3e15797d518d957787ba4e21 (patch) | |
| tree | 027f372a420f1aa3aa72bf72de34c5e6062b9090 /builtin | |
| parent | 3978b9b8ed1c318c3f9a088beb331c26bca6de6b (diff) | |
| download | minetest-9df79a4b2d68979c3e15797d518d957787ba4e21.tar.xz | |
Bloom (#12791)
Adds configurable light exposure control and bloom effect (light bleeding) with client-side settings.
Diffstat (limited to 'builtin')
| -rw-r--r-- | builtin/settingtypes.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 91cc3ec32..e4d345e2d 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -449,6 +449,44 @@ shadow_soft_radius (Soft shadow radius) float 5.0 1.0 15.0 # Minimum value: 0.0; maximum value: 60.0 shadow_sky_body_orbit_tilt (Sky Body Orbit Tilt) float 0.0 0.0 60.0 +[**Post processing] + +# Set the exposure compensation factor. +# This factor is applied to linear color value +# before all other post-processing effects. +# Value of 1.0 (default) means no exposure compensation. +# Range: from 0.1 to 10.0 +exposure_factor (Exposure Factor) float 1.0 0.1 10.0 + +[**Bloom] + +# Set to true to enable bloom effect. +# Bright colors will bleed over the neighboring objects. +enable_bloom (Enable Bloom) bool false + +# Set to true to render debugging breakdown of the bloom effect. +# In debug mode, the screen is split into 4 quadrants: +# top-left - processed base image, top-right - final image +# bottom-left - raw base image, bottom-right - bloom texture. +enable_bloom_debug (Enable Bloom Debug) bool false + +# Set to true to use dedicated texture at each step of bloom effect. +# This is a compatibility setting to avoid visual artifacts +# on certain GPUs and video drivers. +enable_bloom_dedicated_texture (Enable Bloom Dedicated Texture) bool false + +# Set the intensity of bloom +# Smaller values make bloom more subtle +# Range: from 0.01 to 1.0, default: 0.05 +bloom_intensity (Bloom Intensity) float 0.05 0.01 1.0 + +# Set the radius of the bloom filter in pixels. +# Larger values render more glow around bright objects +# at the cost of higher resource consumption. +# Range: from 1 to 64, default: 16 +bloom_radius (Bloom Radius) int 16 1 64 + + [*Audio] # Volume of all sounds. |
