square the SSAO output

This commit is contained in:
Edgaru089 2022-02-10 19:57:39 +08:00
parent d376a0fd39
commit bb33972616

View File

@ -16,5 +16,6 @@ void main() {
output += texture(input, fragPosScreen + vec2(i, j) / screenSize).r;
output /= 49.0;
output *= output;
}