diff options
| author | x2048 <codeforsmile@gmail.com> | 2022-11-02 09:09:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-02 09:09:48 +0100 |
| commit | 9b24041394ecf8210514845372d965f8d65302c9 (patch) | |
| tree | bdd8f6beea3ae775e3d2dbafa452257bd8f01ff9 /builtin | |
| parent | fb3085a2c593e0671e3322fe0e7d0914a052acef (diff) | |
| download | minetest-9b24041394ecf8210514845372d965f8d65302c9.tar.xz | |
Improve bloom effect (#12916)
* Remove the built-in exposure factor of 2.5
* Add physics-based bloom (https://learnopengl.com/Guest-Articles/2022/Phys.-Based-Bloom)
* Add luminance scaling for bloom layer to simulate HDR
* Add setting to control bloom strength
Diffstat (limited to 'builtin')
| -rw-r--r-- | builtin/settingtypes.txt | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index eaaf74943..2214b4dd6 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -470,21 +470,19 @@ enable_bloom (Enable Bloom) bool false # 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 +# Defines how much bloom is applied to the rendered image # 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 +# Defines the magnitude of bloom overexposure. +# Range: from 0.1 to 10.0, default: 1.0 +bloom_strength_factor (Bloom Strength Factor) float 1.0 0.1 10.0 + +# Logical value that controls how far the bloom effect spreads +# from the bright objects. +# Range: from 0.1 to 8, default: 1 +bloom_radius (Bloom Radius) float 1 0.1 8 [*Audio] |
