Skip to content

Releases: suparious/minecraft.cpp

v1.2.0: Performance optimizations and cross-platform improvements

19 Dec 11:03

Choose a tag to compare

What's New

Performance Improvements

  • Parallelized compute shaders: generateBlocks and clearExplosions now use 256 threads per chunk (16x16 grid) instead of single-threaded execution
  • Conditional dispatch: Skip clearExplosions when no explosions occurred, skip generateQuads when world hasn't changed

Cross-Platform Fixes

  • Broader GPU compatibility: drawTerrain.glsl uses GLSL 4.50 + GL_ARB_shader_draw_parameters extension 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.sh build script for packaging releases

Downloads

  • Windows: minecraft.cpp-v1.2.0-windows.zip - Extract and run MinecraftClone.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

19 Dec 07:20

Choose a tag to compare

What's New

  • Cross-platform builds - Windows and Linux binaries included
  • Static linking - Windows exe no longer requires MinGW DLLs
  • Release automation - New release.sh script for building releases
  • GLSL 4.50 compatibility - Shaders now work with Mesa llvmpipe

Downloads

  • Windows: minecraft.cpp-v1.1.0-windows.zip - Extract and run MinecraftClone.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

18 Dec 12:26

Choose a tag to compare

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.bat to 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/MinecraftClone

What'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