|
233d725e05
|
Small cleanup
|
2021-06-02 03:37:24 +02:00 |
|
|
14a2e91b26
|
Add GeometryBuffers struct containing vertex and index buffers
|
2021-06-02 03:20:33 +02:00 |
|
|
8bc41825d2
|
Create Geometry struct to replace vertex/index tuples
|
2021-06-02 02:33:26 +02:00 |
|
|
c8e455053b
|
Fix fps table alignment
|
2021-06-02 01:26:29 +02:00 |
|
|
41099e3481
|
Implement hotbar slot selection
|
2021-06-02 01:25:12 +02:00 |
|
|
032d527af3
|
Differentiate between Vertex and BlockVertex
This allows for BlockVertex to store additional information, like the texture ID, without resorting to ugly hacks like passing it as a float
|
2021-06-01 23:27:08 +02:00 |
|
|
fb23daa60c
|
fixed shader bug for stone under dirt stuff on nvidia+mac
|
2021-06-01 22:20:00 +02:00 |
|
|
5c33afbc59
|
Fix input on macOS
|
2021-06-01 22:01:45 +02:00 |
|
|
8fe5e9323e
|
rm -rf ugly texture pack
|
2021-06-01 21:16:01 +02:00 |
|
|
9ce89b707c
|
Implement simple colission detection
|
2021-06-01 21:04:48 +02:00 |
|
|
df7f78163d
|
Remove unused uses
|
2021-06-01 19:58:52 +02:00 |
|
|
e78878150d
|
Implement simple text renderer
|
2021-06-01 19:58:11 +02:00 |
|
|
4af16fb974
|
Use RenderContext for TextureManager::new
|
2021-06-01 17:54:53 +02:00 |
|
|
bfa7a48483
|
Move basic rendering context to RenderContext
This way they can be passed around much more easily
|
2021-06-01 16:47:28 +02:00 |
|
|
a3236f610a
|
Move a bunch of WorldState related things to WorldState
|
2021-06-01 16:27:12 +02:00 |
|
|
7fdee1dbda
|
Change to 64x64x64 chunks, parallellize worldgen and geometry generation
|
2021-06-01 16:03:46 +02:00 |
|
|
aec8d36647
|
Remove unused Chunk::raycast
|
2021-06-01 16:00:03 +02:00 |
|
|
6c6a321a0c
|
Make adding/removing blocks work on the entire world
|
2021-06-01 14:19:27 +02:00 |
|
|
65f0a706d3
|
Cull invisible block faces, reintroduce removing/adding blocks
|
2021-06-01 10:48:30 +02:00 |
|
|
ff20d5ad29
|
Add super cool water
|
2021-05-31 21:24:59 +02:00 |
|
|
1f0a1975a5
|
Add water textures
|
2021-05-31 21:22:44 +02:00 |
|
|
0d7df1d501
|
Move state stuff to its own folder
|
2021-05-31 18:34:09 +02:00 |
|
|
bf22190ccd
|
Move HUD-related code to its own file
|
2021-05-31 18:31:20 +02:00 |
|
|
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 |
|