Awesome
Zig vulkan renderer
A toy renderer written in zig using vulkan and glfw
Requirements
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
Run the project
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
Run tests
Currently the code base is not really well tested, but you can run the few tests by doin zig build test
Sources:
- 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