Commit graph

676 commits

Author SHA1 Message Date
griffi-gh 1886126f62 optimize worldgen 2024-05-14 00:52:45 +02:00
griffi-gh e73b336670 fix needless SmUniformData updates 2024-05-14 00:08:27 +02:00
griffi-gh 7220b4fae0 update readme 2024-05-14 00:00:20 +02:00
griffi-gh 0802e4806c
Merge pull request #21 from griffi-gh/wgpu2
wgpu rewrite (v2)
2024-05-13 23:57:28 +02:00
griffi-gh e7d81ce7cc add the old "lighting" thingy 2024-05-13 23:56:31 +02:00
griffi-gh db05b0902d Remove unneded use of nonsendsync 2024-05-13 23:44:48 +02:00
griffi-gh 1b096c07ed add submerge overlay back 2024-05-13 23:43:39 +02:00
griffi-gh 34a0c8c648 wip smoverlay 2024-05-13 19:47:36 +02:00
griffi-gh 1bf61500b3 trans chunks are visible again! 2024-05-08 20:13:19 +02:00
griffi-gh 7928745938 players :3 2024-05-08 15:02:16 +02:00
griffi-gh 438b79e8f0 uwu 2024-05-08 13:35:03 +02:00
griffi-gh eec672d665 kitty? kitty! 2024-05-08 13:12:58 +02:00
griffi-gh 3f0697d573 use latest hui 2024-05-08 03:22:41 +02:00
griffi-gh 7eafea521f kubiui integration update 2024-05-08 03:04:50 +02:00
griffi-gh ec23cedb7a use proper srgb color for background 2024-05-07 21:04:50 +02:00
griffi-gh c98f504310 print adapter info on start 2024-05-07 20:50:59 +02:00
griffi-gh 18e35b3ea4 Selection Box 2024-05-07 20:12:07 +02:00
griffi-gh 75cb0ead6b clean up world renderer 2024-05-07 01:15:44 +02:00
griffi-gh 487cf31843 wip 2024-05-07 01:14:36 +02:00
griffi-gh 7aa91b6414 add cube primitive 2024-05-07 01:11:05 +02:00
griffi-gh 196a7010b6 separate clear_bg pass 2024-05-07 00:13:14 +02:00
griffi-gh c8cacafab5 use default limits 2024-05-06 18:21:19 +02:00
griffi-gh d738b228f2 fix compilation for android 2024-05-06 18:07:29 +02:00
griffi-gh 811bd8d8b4 use linear for min 2024-05-06 17:38:58 +02:00
griffi-gh 99cc2d1e72 enable all backends 2024-05-06 17:21:18 +02:00
griffi-gh 85c64c9064 flip uvs 2024-05-06 17:19:11 +02:00
griffi-gh 6e9e3fa445 enable depth texture 2024-05-06 17:09:13 +02:00
griffi-gh 8a4549efea restructure stuff and fix some warnings 2024-05-06 16:53:40 +02:00
griffi-gh 6f25cb728f remove WindowSize 2024-05-06 16:24:44 +02:00
griffi-gh 9a01ecd6f2 depth, wip 2024-05-06 16:17:01 +02:00
griffi-gh 8fd1930ce6 forgor vec4 type 2024-05-06 15:54:17 +02:00
griffi-gh 674ec97a6e oops 2024-05-06 15:53:47 +02:00
griffi-gh f04542ac02 discard fully transparent 2024-05-06 15:52:59 +02:00
griffi-gh dd386acea1 owo 2024-05-06 15:48:36 +02:00
griffi-gh d14b5e1b40 ok this is better 2024-05-06 14:29:07 +02:00
griffi-gh f4e4886d33 i see... something? 2024-05-06 13:32:44 +02:00
griffi-gh 3f768a8318 do rpass in world.rs 2024-05-05 15:42:25 +02:00
griffi-gh baf037d4a5 use Arc<Window> instead of create_surface_unsafe 2024-05-05 15:20:44 +02:00
griffi-gh 2c2199d520 ... 2024-05-05 15:19:09 +02:00
griffi-gh 1d9fafd408 lifetime errors :є 2024-05-05 13:25:54 +02:00
griffi-gh 58e4eed14e init texture prefab 2024-05-05 13:16:48 +02:00
griffi-gh 90784e21dd minor changes 2024-05-05 02:02:30 +02:00
griffi-gh 260f4b4232 load block textures 2024-05-05 02:00:06 +02:00
griffi-gh 35ff06a439 minor changes to rendering.rs 2024-05-05 01:34:27 +02:00
griffi-gh 7ac045f013 move renderer into it's own file 2024-05-05 01:30:07 +02:00
griffi-gh 0b69377865 copy over world render 2024-05-05 01:25:44 +02:00
griffi-gh 324270ed7d write some dumb shader code 2024-05-05 01:06:43 +02:00
griffi-gh 906f4882a2 throw away glsl shaders 2024-05-05 00:17:27 +02:00
griffi-gh c32568af1c :3 2024-05-05 00:16:55 +02:00
griffi-gh 1d4cbcc2b1 oops forgor to cast trans buffers 2024-05-04 23:18:27 +02:00