Releases: suparious/minecraft.cpp
Releases · suparious/minecraft.cpp
v1.2.0: Performance optimizations and cross-platform improvements
What's New
Performance Improvements
- Parallelized compute shaders:
generateBlocksandclearExplosionsnow use 256 threads per chunk (16x16 grid) instead of single-threaded execution - Conditional dispatch: Skip
clearExplosionswhen no explosions occurred, skipgenerateQuadswhen world hasn't changed
Cross-Platform Fixes
- Broader GPU compatibility:
drawTerrain.glsluses GLSL 4.50 +GL_ARB_shader_draw_parametersextension for Mesa compatibility - WSL2 stability: ImGui disabled on Linux to avoid D3D12 translation layer crashes
- Windows builds: Static linking for MinGW cross-compilation (no DLL dependencies)
Documentation
- Complete README rewrite with build instructions for Windows, Linux, and cross-compilation
- Added
release.shbuild script for packaging releases
Downloads
- Windows:
minecraft.cpp-v1.2.0-windows.zip- Extract and runMinecraftClone.exe - Linux:
minecraft.cpp-v1.2.0-linux.tar.gz- Extract and run./MinecraftClone
Requirements
- GPU with OpenGL 4.3+ and compute shader support
- 4GB+ VRAM recommended for default world size
v1.1.0 - Cross-platform Release
What's New
- Cross-platform builds - Windows and Linux binaries included
- Static linking - Windows exe no longer requires MinGW DLLs
- Release automation - New
release.shscript for building releases - GLSL 4.50 compatibility - Shaders now work with Mesa llvmpipe
Downloads
- Windows:
minecraft.cpp-v1.1.0-windows.zip- Extract and runMinecraftClone.exe - Linux:
minecraft.cpp-v1.1.0-linux.tar.gz- Extract and run./MinecraftClone
Platform Notes
- Windows: Full GPU acceleration, all features enabled
- Linux (native): Full GPU acceleration with proper drivers
- WSL2: Software rendering only (AMD D3D12 driver has known issues)
Controls
| Key | Action |
|---|---|
| WASD | Move |
| Mouse | Look around |
| Left Click | Break block / Activate TNT |
| Right Click | Place block |
| 1-9 | Select hotbar slot |
| ESC | Release mouse |
v1.0.0 - Initial Release
VoxelEngine v1.0.0 - Initial Release
GPU-accelerated Minecraft clone using OpenGL 4.3+ compute shaders.
Features
- Block rendering with texture atlas
- Flat terrain generation (grass/dirt/stone/bedrock layers)
- TNT explosion physics simulation (supports 10M+ entities)
- First-person camera movement (WASD + mouse)
- Basic audio (explosions, fuse sounds)
- Debug overlay (ImGui)
Build Requirements
Windows
- Visual Studio 2022
- Run
GenerateProjects.batto generate solution
Linux/WSL
- GCC/Clang with C++23 support
- CMake 3.16+
- OpenGL 4.3+ capable GPU
- Dependencies:
libglfw3-dev libgl1-mesa-dev libx11-dev libxrandr-dev libxi-dev libxxf86vm-dev
Quick Start
git clone --recursive https://github.com/suparious/minecraft.cpp.git
cd minecraft.cpp
mkdir build && cd build
cmake ..
make -j$(nproc)
./bin/MinecraftCloneWhat's Next
See ROADMAP.md for planned features including:
- Block placement/breaking
- Caves and biomes
- Crafting system
- Mobs and entities
- Lighting and day/night cycle