summaryrefslogtreecommitdiffhomepage
path: root/shaders
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-09-13 10:38:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-09-13 10:38:10 +0200
commit1410c963fbbd6255357882371ab7242ea9237ce8 (patch)
tree4ffc29d08c9ddf977a7e3357955e8d0f53fd62ad /shaders
parente8e7a6b1771a7f8429275290260362582db9fc21 (diff)
fix artifacts on wall corners
Diffstat (limited to 'shaders')
-rw-r--r--shaders/lightmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp
index 52471b6b..ffd24bde 100644
--- a/shaders/lightmap.cpp
+++ b/shaders/lightmap.cpp
@@ -27,7 +27,7 @@ namespace floormat {
namespace {
constexpr auto neighbor_count = 4;
-constexpr float fuzz_pixels = 16;
+constexpr float fuzz_pixels = 4;
constexpr float shadow_wall_depth = 8;
constexpr float real_image_size = 1024;