tweak sampling for SSAO, shadow filters.

This commit is contained in:
Xonk
2023-10-11 16:28:28 -04:00
parent 2f92a6eff0
commit 87d25d0637
5 changed files with 63 additions and 15 deletions

View File

@ -42,7 +42,7 @@ vec3 HableTonemap(vec3 linearColor) {
// A = shoulder strength
const float A = 0.45;
// B = linear strength
const float B = 0.28;
const float B = 0.5;
// C = linear angle
const float C = 0.1;
// D = toe strength

View File

@ -53,7 +53,7 @@ vec2 SSAO(
int n = 0;
for (int i = 0; i < samples; i++) {
vec2 sp = tapLocation_alternate(i, samples, 20, samplePos) * 0.2;
vec2 sp = tapLocation_alternate(i, 7, 9, samplePos) * 0.2;
float rd = mulfov2 ;