make daily weather fully functional (No defaults yet). fix damage effects from randomly happening. fix AO strength slider not function when SSAO is on.

This commit is contained in:
Xonk
2024-05-22 00:01:17 -04:00
parent 044d690a52
commit dcce8e5358
26 changed files with 278 additions and 265 deletions

View File

@ -295,7 +295,7 @@ vec2 SSAO(
}
}
}
return max(1.0 - vec2(occlusion, sss)/n, 0.0);
return max(1.0 - vec2(occlusion*AO_Strength, sss)/n, 0.0);
}
vec4 encode (vec3 n, vec2 lightmaps){