Real-time 2D global illumination in C++ and Vulkan using radiance cascades. Paint solid and emissive materials and the lighting is updated every frame with nice soft shadows: ~6ms on an RTX 3070 at 1024×1024, ~88M ray intervals per frame across 6 cascades.
Shaders written in Slang.
The frame runs through framework, a Vulkan render graph library I built in block D of my third year at BUAS: declare passes and the resources they read and write, and the graph figures out the execution order and inserts the correct synchronization. This project was its first real workload, and it necessitated a couple additions: per-mip/per-layer image state tracking (the JFA pass ping pongs between two layers of the same image), per-pass GPU timestamps (for the timing graph), and debug labels for RenderDoc and Nsight.
Self study project for block A of my fourth year at BUAS. For block B I will be extending this into 3D.