paint: tweak ssao

This commit is contained in:
luboslenco
2026-08-26 12:34:49 +02:00
parent 86175fb720
commit 2231fa8dd0
+1 -1
View File
@@ -144,7 +144,7 @@ f32 uniforms_ext_f32_link(object_t *object, shader_data_t *mat, char *link) {
return scene_camera->frame == 0 ? 0.0 : 0.5;
}
else if (string_equals(link, "_ssao_strength")) {
return g_config->rp_ssao;
return g_config->rp_ssao * 0.95;
}
else if (string_equals(link, "_ssao_frame")) {
return scene_camera->frame % 2 == 0 ? 0.0 : 0.5;