The ray tracing code is based on this blogpost. My first attempt at using Vulkan, the ray tracing algorithm is still very basic.
- The ray tracing algorithm is executed for each pixel in a compute shader
- The compute shader writes the color result in a texture
- The graphics pipeline merely renders the texture on the screen
To compile this project, you will need the following libraries
- Vulkan
- GLFW
- stbi (for image loading)