diff --git a/data/shaders/ssao.frag b/data/shaders/ssao.frag index b841a587f..8c307a699 100644 --- a/data/shaders/ssao.frag +++ b/data/shaders/ssao.frag @@ -10,7 +10,7 @@ out vec4 FragColor; const float radius = .4f; -#define SAMPLES 8 +#define SAMPLES 16 const float invSamples = 1. / SAMPLES; diff --git a/src/graphics/shaders.cpp b/src/graphics/shaders.cpp index 107208bec..9f9f0c649 100644 --- a/src/graphics/shaders.cpp +++ b/src/graphics/shaders.cpp @@ -1269,7 +1269,7 @@ namespace FullScreenShader SSAOSamples[32] = -0.654493; SSAOSamples[33] = -0.140866; - SSAOSamples[32] = 0.742830; + SSAOSamples[34] = 0.742830; SSAOSamples[35] = 0.699820; SSAOSamples[36] = 0.114730;