diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-24 10:54:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-24 10:54:42 +0200 |
commit | 3708600519fb4fa9ecd68bf86459fb31724a1e6a (patch) | |
tree | 586617e05cba106029e39ee9d45dd87af3b8a8f4 | |
parent | f57dfc925bfeaec772c4eac88995e87262fe357f (diff) |
fix constant light size
-rw-r--r-- | shaders/lightmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp index 10d8fd9e..5a93721d 100644 --- a/shaders/lightmap.cpp +++ b/shaders/lightmap.cpp @@ -224,7 +224,7 @@ void lightmap_shader::add_light(Vector2 neighbor_offset, const light_s& light) { default: case light_falloff::constant: - I = TILE_MAX_DIM * 3; + I = TILE_MAX_DIM; break; case light_falloff::linear: case light_falloff::quadratic: |