From 060ea55805ff629e0971ef8a37592228faf2a17f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 12 Jun 2023 04:02:29 +0200 Subject: lightmap sort of works now --- main/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/draw.cpp b/main/draw.cpp index 2c3156b0..4628eaf8 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -174,7 +174,7 @@ void main_impl::draw_world() noexcept ns[i] = _world.at(n); } auto& c = *c_; - draw_lights(c, ch, ns); + //draw_lights(c, ch, ns); // tex = _lightmap_shader.texture(); // todo const with_shifted_camera_offset o{_shader, ch, {minx, miny}, {maxx, maxy}}; if (check_chunk_visible(_shader.camera_offset(), sz)) -- cgit v1.2.3