Devlog 08
BLock culling.
Finally added block clulling to my voxel engine game! I also refactored all teh mesh generation logic and made MANY refactors to the engine.
The first was to break the code into smaller pieces with different responsabilities so i can think only on the problem i am handliing with. I added CubeFace and removed hardcoded pieces.
As seen on the video, faces between 2 solid blocks are not generated anymore…. my code looks dangerous on the border btw but the getBlock returns air block when out-of-index.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.