4,207 Commits over 1,157 Days - 0.15cph!
Remove CW specific namespace
Try just performing a full lighting update on each full update
Fixed an issue with sunlight propagation that causes sunlight to propagate incorrectly when loading maps from bytes. Infinite worlds now must have a max Z size, but can have an infinite X and Y size.
Added ModelBlockEntity.OnChunkReady
Try to line up voxel + voxel model but it's still fucked (ogniK will take a look later)
Merge branch 'main' of sbox-corewars
Updated atlases + textures
Make source lighting work better with voxel lighting
Update to support server-unloading of chunks
Added support for server-side unloading of chunks (data and state not yet saved / restored from disk)
Update materials and atlas
Force voxel atlas to generate POT textures
Removed stone_block_support_hue
Removed old blocks (plastic)
Updated atlases for fungus texture
Update voxel model to have indirect lights respect voxel brightness
Delete voxel point light correctly
Have source indirect lighting respect voxe lighting brightness
Merge branch 'main' of sbox-corewars
Allow [Change] callbacks for ConVars to be non-public
cw_show_all_blocks will show all blocks in the editor block list regardless of its ShowInEditor value - useful to preview blocks in-game
Update to support loading from any drive
Update voxels + atlas files to support loading from any drive (I hope)
Merge branch 'main' of sbox-corewars
Load chunks in based on x,y distance only
IsDestroyed check. Allow 32 initial chunk updates per second.
Update voxels
Update voxels
Undo all of that - it just isn't fast enough. AddMeshShape/UpdateMesh is too slow
Add vertex and collision updates to a concurrent queue after building them in a thread. Dequeue on the main thread and build the mesh and collision.
Various optimizations and attempts at improved thread safety
Update voxels + atlases to use Sprite Size 64
Use concurrent bag for thread safety when adding potential spawnpoints during perlin chunk generation
Fix to use new shader / voxel atlas however the texture size is wrong atm