From 95115d88ffeadd734048129525c14632f089aaa5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 23 Aug 2023 03:37:35 +0200 Subject: wip --- editor/imgui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'editor') 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 -- cgit v1.2.3