diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-12 04:02:29 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-12 04:02:29 +0200 |
| commit | 060ea55805ff629e0971ef8a37592228faf2a17f (patch) | |
| tree | 6bdbab435cdfbb200bfe93f5c22b7075713b3165 /main | |
| parent | 6143042c67f5e7adb0e64a81ebaa9c89e398a541 (diff) | |
lightmap sort of works now
Diffstat (limited to 'main')
| -rw-r--r-- | main/draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |
