Voxel Raytracer Devlog

Hello, SDL!

2026-06-28

Commit: 03feb13

All projects have to start somewhere. The rendering infrastructure is set up to render a fullscreen quad.

  • SDL_GPU is used as the rendering abstraction. The Metal backend is used on macOS, and the Vulkan backend on Windows.
  • SDL_shadercross is used to compile/transpile HLSL shaders to SPIR-V and Metal.
  • Shaders are compiled at build time and embedded as byte arrays into the source code.

A window opens displaying the UV coordinates as the color.

fullscreen-quad

Contents