From 9df79a4b2d68979c3e15797d518d957787ba4e21 Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 29 Sep 2022 20:34:05 +0200 Subject: Bloom (#12791) Adds configurable light exposure control and bloom effect (light bleeding) with client-side settings. --- builtin/settingtypes.txt | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'builtin') 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. -- cgit v1.2.3