18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-21 23:44:58 +01:00

feat(render): ground truth ambient occlusion darkens creases, recesses and the space under desks and frames, computed at half resolution from the reversed depth buffer with a depth-aware blur and multiplied into the image before motion blur, so it works with the default settings; thin parts in front of a surface, such as a steering wheel, shade it only from close by, and gfx.postfx.gtao.enabled, radius, intensity, directions and steps set it from the ini

This commit is contained in:
maj00r
2026-10-14 16:56:38 +02:00
parent 000b8656cc
commit a24f9fae3f
9 changed files with 271 additions and 9 deletions

View File

@@ -293,6 +293,11 @@ struct global_settings {
GLenum gfx_format_color = GL_RGB16F;
GLenum gfx_format_depth = GL_DEPTH_COMPONENT32F;
bool gfx_postfx_chromaticaberration_enabled = true;
bool gfx_postfx_gtao_enabled = true;
float gfx_postfx_gtao_radius = 0.35f;
float gfx_postfx_gtao_intensity = 2.0f;
int gfx_postfx_gtao_directions = 2;
int gfx_postfx_gtao_steps = 8;
bool gfx_skippipeline = false;
bool gfx_extraeffects = true;
bool gfx_shadergamma = false;