A Minecraft Experiment with Rust and OpenGL

Towards the end of 2021, I started making a Minecraft-like game from scratch using Rust and OpenGL. It’s unfinished, but I’ve made it open-source. In this article, I will walk you through the journey and explain how the following techniques can squeeze performance out of your GPU: Batching View frustum culling Occlusion culling LODs First of all, why Minecraft? Minecraft introduced me to Java (and programming in general) over 10 years ago. Some of my first lines of code were to make pigs drop diamonds instead of porkchops; this led to a few years of creating and sharing mods online. To dig up a skeleton from 2013, here’s a short review of one by a fairly popular YouTube channel. ...

February 27, 2023 · 7 min