chore: Decrease shadow bias from 0.5 to 0.1

This commit is contained in:
Vsevolod Kremianskii 2021-02-17 23:04:06 +07:00
parent 3858d8fc78
commit 0c334d8437

View file

@ -221,7 +221,7 @@ float getShadow() {
float currentDepth = length(fragToLight);
float shadow = 0.0;
float bias = 0.5;
float bias = 0.1;
float samples = 4.0;
float offset = 0.1;