Commit graph

168 commits

Author SHA1 Message Date
griffi-gh a9666062ec refactor part of the cube frustum culling code 2023-01-27 22:41:33 +01:00
griffi-gh 158639d3b7 update frustum only if the camera moves 2023-01-27 22:34:57 +01:00
griffi-gh 16bc214628 reenable worldgen 2023-01-27 22:32:23 +01:00
griffi-gh d9ab57ba12 Mouse sensitivity is now affected by delta time 2023-01-27 22:27:48 +01:00
griffi-gh 4c2a29e0a3 enable frustum culling! 2023-01-27 22:22:49 +01:00
griffi-gh fe5bafdd35 fix 2023-01-27 22:17:30 +01:00
griffi-gh 5b4f54a19e wip culling 2023-01-27 22:01:51 +01:00
griffi-gh 1f1b337988 frustum culling impl 2023-01-27 21:50:33 +01:00
griffi-gh a29f6c65fd frustum 2023-01-27 21:15:23 +01:00
griffi-gh 19fa7e67bc Wip frustum code port 2023-01-27 04:02:27 +01:00
griffi-gh 783b6a1f84 wip 2023-01-27 03:24:21 +01:00
griffi-gh 6b8deab094 control 2023-01-27 02:14:10 +01:00
griffi-gh 90c5b2a1e2 fix 2023-01-27 01:04:56 +01:00
griffi-gh a7a1b44548 testing noise 2023-01-27 01:04:01 +01:00
griffi-gh 294648b1b2 u 2023-01-26 14:44:11 +01:00
griffi-gh a512fffcc4 Chunk state downgrades 2023-01-26 04:12:29 +01:00
griffi-gh 5c3ee1c4b6 testing 2023-01-26 03:58:05 +01:00
griffi-gh 9ed19bfc0e skip drawing empty chunks 2023-01-26 03:54:41 +01:00
griffi-gh 941f563059 block textures 2023-01-26 03:50:38 +01:00
griffi-gh dfdcc3e4b7 change world generations, enable mi[mapping in sampler, unlink movement speed from fps 2023-01-26 03:39:39 +01:00
griffi-gh fc6da8856d remove useless argument 2023-01-26 03:28:17 +01:00
griffi-gh f3f0227511 yay it works! 2023-01-26 03:28:05 +01:00
griffi-gh 56c2f0de88 fuck 2023-01-26 03:05:29 +01:00
griffi-gh 29166c3b95 upd camera 2023-01-25 04:11:55 +01:00
griffi-gh 3d6988f459 wip camera 2023-01-25 03:52:54 +01:00
griffi-gh e68e0b39e3 testing 2023-01-25 03:36:24 +01:00
griffi-gh 83f06950e2 events and input 2023-01-25 03:01:44 +01:00
griffi-gh 8615853deb undo input code 2023-01-24 21:10:24 +01:00
griffi-gh 9c802a6e70 input system updates 2023-01-24 19:09:41 +01:00
griffi-gh 567e6d8d85 wip input system 2023-01-24 18:58:56 +01:00
griffi-gh 68fcb7135d create files 2023-01-23 18:46:30 +01:00
griffi-gh 92b0d8972a fix warnings 2023-01-23 03:41:04 +01:00
griffi-gh 710bedeaec swap face normals 2023-01-23 03:27:08 +01:00
griffi-gh ecedfc929d spawn L shapes 2023-01-23 03:24:43 +01:00
griffi-gh ff38faa891 Remove useless mut 2023-01-23 03:19:26 +01:00
griffi-gh cb428f4c71 Ooops cleared the frame twice 2023-01-23 03:13:37 +01:00
griffi-gh 59cdd84fc5 Use correct culling? 2023-01-23 03:12:23 +01:00
griffi-gh 6f866d2305 got something to render... 2023-01-23 03:11:48 +01:00
griffi-gh d290dd8ab8 add logging 2023-01-23 02:36:27 +01:00
griffi-gh 38c0bfa9d1 hacky shit but it works 2023-01-23 02:34:25 +01:00
griffi-gh ee55ef2d2a some refactoring, worldgen tasks and more (i forgor 💀) 2023-01-23 00:16:58 +01:00
griffi-gh 8f1821a8f5 add mipmaps and spcify wrap function on sampler 2023-01-22 22:31:16 +01:00
griffi-gh 5f06c85279 change neighbors to a right handed system 2023-01-22 22:09:37 +01:00
griffi-gh f9a7953dd8 Separate chunk neighbor code, WIP tasks 2023-01-22 21:24:35 +01:00
griffi-gh 7b5120b1d4 chunk rendering 2023-01-22 17:01:54 +01:00
griffi-gh 26b43ed2ca wip camera 2023-01-22 03:24:28 +01:00
griffi-gh c761688f81 chunk marking/loading!! 2023-01-22 01:51:23 +01:00
griffi-gh 0a528d8ccf "unroll" loop 2023-01-22 00:00:22 +01:00
griffi-gh dc0c314bf5 ї 2023-01-21 23:56:07 +01:00
griffi-gh 5b0817b318 WIP Chunk loading 2023-01-21 03:40:23 +01:00