diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-23 03:37:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-23 03:37:35 +0200 |
commit | 95115d88ffeadd734048129525c14632f089aaa5 (patch) | |
tree | 9e662dd7bc209365b140631d57f3ad4acf343e14 /editor/imgui.cpp | |
parent | e9f5c273128e553a6ebc9d15f3a9a820faf2bbb4 (diff) |
wip
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r-- | editor/imgui.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp index 98e6f598..e0838d1c 100644 --- a/editor/imgui.cpp +++ b/editor/imgui.cpp @@ -230,8 +230,6 @@ void app::draw_lightmap_test() auto& shader = M->lightmap_shader(); if (!_testing_light || true) { - //constexpr auto chunk_offset = Vector2(lightmap_shader::max_chunks)/2; - Vector2 chunk_offset; _testing_light = true; shader.begin_occlusion(); #if 0 @@ -239,7 +237,7 @@ void app::draw_lightmap_test() #endif shader.end_occlusion(); shader.bind(); - shader.add_light(chunk_offset, L); + shader.add_light(L); M->bind(); } else |