diff --git a/wadsrc/static/shaders/glsl/main.fp b/wadsrc/static/shaders/glsl/main.fp index 07688d9df..1c146510b 100644 --- a/wadsrc/static/shaders/glsl/main.fp +++ b/wadsrc/static/shaders/glsl/main.fp @@ -158,7 +158,7 @@ float shadowmapAttenuation(vec4 lightpos, float shadowIndex) else u = dir.x / dir.y * 0.125 + (0.50 + 0.125); } - dir -= sign(dir) * 5.0; // margin, to remove wall acne + dir -= sign(dir) * 2.0; // margin, to remove wall acne float dist2 = dot(dir, dir); return texture(ShadowMap, vec2(u, v)).x > dist2 ? 1.0 : 0.0; }