MrScriptX/z8
Z8 is a hobby 3D rendering engine project. Mostly for fun, it is based of VkGuide.
Z8 is a personal 3D rendering engine project built with Zig, Vulkan, and SDL3. It's a rewrite in Zig of my original R3DEngine, and serves as a playground for trying out new ideas, learning graphics programming, and exploring the Zig language.
This project is mostly for fun and personal growth. My goal is to have a flexible engine that I can use to experiment with rendering techniques, engine architecture, and new features as I learn. It's not intended to be a full-featured or production-ready engine, but rather a simple and approachable codebase for tinkering and prototyping.
The current implementation follows the first five chapters of the excellent vkguide tutorial, with some modifications and my own ideas mixed in.
The project is moving toward a voxel engine using GPU compute shaders, so expect most improvements to be made in that direction. If you don't understand something, feel free to ask me on GitHub or under one YouTube videos.
You'll need:
zig build
zig-out/bin/z8.exe
If you run into issues, double-check your Vulkan SDK installation and Zig version.
src/
— Main engine source codeassets/
— Models, shaders, and other assetscommon/
— Third-party and utility librarieslibs/
— Zig build wrappers for dependencieslevels/
— Example scenes and levelsThe following libraries are included in the project (no need to install separately):
See LICENSE for details. Credits to all upstream libraries and inspirations.