summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-23 03:38:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-23 03:40:04 +0200
commit0b1a4b61e6d1f7e88d12599853beeb12d0472c53 (patch)
tree884be9fb376ae2c1c3e7fd094069db3b33a60a6f /editor
parent95115d88ffeadd734048129525c14632f089aaa5 (diff)
wip
Diffstat (limited to 'editor')
-rw-r--r--editor/imgui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index e0838d1c..ea76cc76 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -232,9 +232,7 @@ void app::draw_lightmap_test()
{
_testing_light = true;
shader.begin_occlusion();
-#if 0
- shader.add_chunk(chunk_offset, e_->chunk());
-#endif
+ shader.add_chunk(Vector2{}, e_->chunk()); // todo add neighbors
shader.end_occlusion();
shader.bind();
shader.add_light(L);