This is what I’ve been working on for at least a month now, a minecraft-style voxel ‘playground’ with babylon.js. It’s still early days as you can see. I don’t want to go too far down the MC-clone route, I think the world has enough of them. I just want to get to a base-level functionality where I can make a minimalist voxel-type game with ease.
My primary focus has been on performance, I want a silky-smooth 60 without noticeable hitches. I’m not quite there yet. I’ve used greedy-meshing on the chunks, used a custom shader to texture them properly without the need for additional materials (all one object), and have offloaded their generation to a webworker. This has got me close, but as you can see in the video there’s a good half-second delay when the next batch of chunks need to be loaded. I’ve got a few ideas on tackling this though, and more performance optimizations up my sleeve. This is going at ~60fps apart from those instances though the recording might not bear that out as its recorded on an old laptop so apologies about that. It’s been a heck of a learning experience so far, and I know I’ve got a lot more learning ahead of me before this project is in a presentable / uploadable state. Ah well, gotta keep on climbing mount improbable!
I must admit I’m finding staying motivated about a fairly big project to be super hard, especially when 90% of my development time is me sifting through docs and reading up on techniques & algorithms. All have to start somewhere I guess.