A toy renderer written in zig using vulkan and glfw
Zig build toolchain does most of the heavy lifting. The only systems requirement is the Vulkan SDK. Make sure you download Vulkan 1.2 or up
This project also uses latest zig version
Do the following steps
$ git clone --recurse-submodules -j4 <repo>
$ cd <folder>
$ zig build run
Or
$ git clone <repo>
$ cd <folder>
$ git submodule update --init --recursive
$ zig build run
Currently the code base is not really well tested, but you can run the few tests by doin zig build test
- Vulkan fundementals:
- Setup Zig for Gamedev: https://dev.to/fabioarnold/setup-zig-for-gamedev-2bmf
- Using vulkan-zig: https://github.com/Snektron/vulkan-zig/blob/master/examples