34 Commits over 61 Days - 0.02cph!
Pass voxel size into shader
Add chunk collision shapes to world body so player movement works on it
Fix compile error so the game runs, inefficient networking though
undo chunk change, corrupting the vertex buffer for some reason
Add planar mapping to voxel shader
Only create chunk vertex buffer if there's verts
Ignore block type in face mask when generating collision on server
Only rebuild collision mesh on server
Clean up chunk resources in OnDestroy
Initial attempt to network initial chunk data, needs engine changes to compile tho
Make block data local to chunk instead of local to map to make it easier to network
Move chunks into map, add MapDesc
Creating and updating collision meshes proof of concept
Add Map.GetBlockPosInChunk
Add Map.GetBlockChunkIndex
Start using IntVector3 for everything
Allocate chunk vertex buffer as needed so we don't have to allocate a massive one upfront
Fast greedy mesh slice updating
Greedy meshing (slow to update until i do fast mesh updating)