1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 02:45:21 +02:00

Allow FXAA to be used together with FSAA or SSAA (#16555)

This allows FXAA post-processing to be used together with FSAA or SSAA
This commit is contained in:
lhofhansl
2025-10-11 20:50:23 -07:00
committed by GitHub
parent 0b13fd0b01
commit 7ca5f3baa0
4 changed files with 18 additions and 8 deletions

View File

@@ -614,19 +614,22 @@ anisotropic_filter (Anisotropic filtering) bool false
# Also, if Post Processing is disabled, FSAA will not work together with
# undersampling or a non-default "3d_mode" setting.
#
# * FXAA - Fast approximate antialiasing
# Applies a post-processing filter to detect and smoothen high-contrast edges.
# Provides balance between speed and image quality.
#
# * SSAA - Super-sampling antialiasing
# Renders higher-resolution image of the scene, then scales down to reduce
# the aliasing effects. This is the slowest and the most accurate method.
antialiasing (Antialiasing method) enum none none,fsaa,fxaa,ssaa
antialiasing (Antialiasing method) enum none none,fsaa,ssaa
# Defines the size of the sampling grid for FSAA and SSAA antialiasing methods.
# Value of 2 means taking 2x2 = 4 samples.
fsaa (Anti-aliasing scale) enum 2 2,4,8,16
# Applies a post-processing filter to detect and smoothen high-contrast edges.
# Provides balance between speed and image quality.
# fxaa can used in combination with the other anti-aliasing methods
#
# Requires: enable_post_processing
fxaa (Fast approximate antialiasing) bool false
[**Occlusion Culling]
# Type of occlusion_culler