Commit graph

43 commits

Author SHA1 Message Date
1740b80bf0
Remove some unused assets 2021-05-31 15:43:31 +02:00
4b9e4248bc
Fix instance creation on some devices 2021-05-31 15:34:37 +02:00
6231a83552
Update crossbeam 2021-05-31 15:02:29 +02:00
6531e3ee1c
Fix some warnings 2021-05-31 14:44:11 +02:00
72969e392b
Remove unused index_indices 2021-05-31 14:43:58 +02:00
54549b8e16
Fix alignment in cube::vertices 2021-05-31 14:38:44 +02:00
c08ff4b6eb
Cleanup chunk meshification 2021-05-31 14:30:11 +02:00
c922bc0855
Fix Vertex buffer size 2021-05-31 14:00:57 +02:00
503288733c
Meshify chunks and switch to texture arrays from the atlas 2021-05-31 13:41:41 +02:00
e23c4549a2
Play around with webgpu 2021-05-31 04:49:38 +02:00
dc95af56f2
oops 2021-05-31 04:01:33 +02:00
033c257d3b
Meshify chunks 2021-05-31 04:01:03 +02:00
da7f7759ad
Fix terrain generation 2021-05-31 03:55:16 +02:00
229804b306
Enable optimization by default for dependencies 2021-05-31 03:54:53 +02:00
fd84429c22
Add debug texture 2021-05-31 03:54:37 +02:00
f802bbe5a2
Use constants for terrain gen parameters 2021-05-30 14:21:25 +02:00
1c23e0f622
Slightly improve worldgen 2021-05-30 14:12:10 +02:00
7d4bccf187
Move camera to above terrain 2021-05-30 14:12:04 +02:00
340e208cda
Update .gitignore 2021-05-30 13:26:25 +02:00
61ec4c4da5
Add world generation, better fps stats, multiple chunks, grass/stone blocks 2021-05-30 13:25:47 +02:00
248a634ecb
Add (yet) unused AABB implementation 2021-05-30 03:52:16 +02:00
1bda22acbf
Switch to ahash for some free performance 2021-05-30 03:48:43 +02:00
ea31c2d4dd
Implement placing blocks 2021-05-30 03:48:26 +02:00
b30ee9ec3b
Move cubes to [0.0, 1.0] to fix raycasting 2021-05-30 02:08:31 +02:00
f0dace2266
Significantly improve the raycasting algorithm 2021-05-30 01:38:24 +02:00
c3b03c2723
Rename chunk::dda to raycast 2021-05-30 00:14:44 +02:00
8bf15dc924
Add block highlighting 2021-05-30 00:12:33 +02:00
3674f1020f
Add some UI, major cleanup 2021-05-29 22:49:12 +02:00
4c27d26882
Replace GUI textures with minecraft ones
it's fun to be at the D-M-C-A
2021-05-29 22:34:23 +02:00
3606299358
Add GUI textures 2021-05-29 19:35:42 +02:00
ff0fc6cdee
Clean up DDA a bit 2021-05-29 19:26:55 +02:00
17fbd875e2
Implement Chunk, including a raycasting algorithm 2021-05-29 19:07:40 +02:00
1b1daad1f7
Update dependencies 2021-05-29 19:04:19 +02:00
5d1aa6ce96
Add upwards movement, make camera pitch not shit itself 2021-05-29 01:05:04 +02:00
eee0287d7f
We mousing 2021-05-28 23:21:20 +02:00
dc5ed8eb9a
Split up State::new 2021-05-28 21:45:12 +02:00
7dbe316637
Fix textures, implement lighting, clean up, etc 2021-05-28 21:11:31 +02:00
e08cb18db5
More clean-up 2021-05-28 03:58:49 +02:00
815930cba8
Move more stuff to their own files 2021-05-28 03:13:07 +02:00
55e4885e20
Move Vertex to its own file 2021-05-28 03:09:00 +02:00
c09bbe28ee
Give in to linter 2021-05-28 03:06:27 +02:00
2fc273645b
Add assets 2021-05-28 02:57:39 +02:00
361d0206d5
Initial commit 2021-05-28 02:54:06 +02:00