raytracing-vulkan icon indicating copy to clipboard operation
raytracing-vulkan copied to clipboard

Raytracer using Vulkan Compute Shaders and Avalonia UI

Raytracing in Vulkan using C#

This code is part of a series which i am publishing on Medium. We will build a small raytracer, similar to the one from the famous "Ray Tracing in One Weekend" series however we will use Vulkan Compute Shaders to generate the images.

I choose to use the Silk.NET Vulkan bindings for this project.


Medium Stories:

Part 1: Setting up Vulkan & our first Sphere

Part 2: Refactoring, Avalonia UI and WASD Camera

Part 3: Texture accumulation & Lambertian shading

Part 4: Triangles, Assimp (Asset import) & performance tweaks


Feel free to contribute or leave suggestions.

Resources: