Commit Graph

26 Commits

Author SHA1 Message Date
Jarrod Doyle 03a74d1b02
Merge voxel renderer implementation blocks 2024-03-23 16:29:25 +00:00
Jarrod Doyle 10f3950e8d
Begin separating brickmap into brickworld module 2024-03-23 10:25:42 +00:00
Jarrod Doyle 5d463daa1e
Make things return errors where relevant 2024-03-23 10:14:18 +00:00
Jarrod Doyle 881de4e3b9
Fix errors with new versions 2024-03-22 11:59:32 +00:00
Jarrod Doyle 1098c418f1
Rename render module to gfx 2023-09-08 14:33:33 +01:00
Jarrod Doyle 404c7875bf
Increase brickmap parameters 2023-07-28 14:28:28 +01:00
Jarrod Doyle 997de994e5
Make upload and feedback buffer max counts parameterised 2023-07-27 19:07:52 +01:00
Jarrod Doyle 1cdabc0854
Make brickmap cache and shading table bucket sizes parameterised 2023-07-27 18:59:46 +01:00
Jarrod Doyle de0f845cb6
Added labels to all relevant WGPU constructs 2023-07-05 15:34:23 +01:00
Jarrod Doyle 9d4223a1cc
Made unpack buffer size variable and increased the max element count to 512 2023-07-05 14:11:11 +01:00
Jarrod Doyle d9697b0179
Begin using new GPU side brickgrid/map unpack shader 2023-07-05 14:01:53 +01:00
Jarrod Doyle d8ba20d06e
Remove unnecessary count parameter in bind layout uniform entries 2023-06-29 11:27:24 +01:00
Jarrod Doyle fdd4cbde9c
Remove unnecessary count parameter in bind layout storage entries 2023-06-29 11:26:11 +01:00
Jarrod Doyle 056c35a441
Add common generic entries to BindGroupLayoutBuilder 2023-06-29 10:56:51 +01:00
Jarrod Doyle c56fe7d69b
Reduced repitition in layout entry building 2023-06-29 10:49:21 +01:00
Jarrod Doyle c4107c61ea
GPU Brickgrid dimensions are now defined by the renderer 2023-06-27 20:31:44 +01:00
Jarrod Doyle 27b61c624d
Implement clippy suggestions 2023-06-26 15:10:31 +01:00
Jarrod Doyle 7e6746a8cd
Use new world generator 2023-05-09 17:33:46 +01:00
Jarrod Doyle ed46752c92
Remove unnecessary reupload of entire brickmap buffers 2023-05-06 12:29:36 +01:00
Jarrod Doyle af0ab3bb66
Add basic CPU to GPU streaming system 2023-05-03 14:44:42 +01:00
Jarrod Doyle b51f0b42e2
Revert brickmap sphere colour changes 2023-04-29 14:50:59 +01:00
Jarrod Doyle 2555ec55b4
Start work on brickgrids 2023-04-25 13:54:33 +01:00
Jarrod Doyle 1823d8b52c
Add initial multi-brickmap support 2023-04-25 12:23:55 +01:00
Jarrod Doyle 225c76b1a8
Add a basic brickmap shading table 2023-04-24 19:34:19 +01:00
Jarrod Doyle 6be2dd8054
Begin using basic brickmap. Doesn't include shading table 2023-04-24 17:17:56 +01:00
Jarrod Doyle 249ab27777
Make Renderer a trait and implement it for VoxelRenderer 2023-04-24 13:52:38 +01:00