mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
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
This commit is contained in:
parent
fb3085a2c5
commit
9b24041394
15 changed files with 195 additions and 59 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue