Skip to content

andr3wmac/ToyRaygun

Repository files navigation

Toy Raygun Logo

What is it?

A fun project to explore the differences between DirectX 12, Metal, and Vulkan raytracing APIs by abstracting them into a simple toy raytracer.

Features

  • DirectX12
  • Metal
  • Windows & OSX
  • Runtime shader compilation
  • Cornell Box scene
  • SDL2 window and input
  • Direct lighting with shadows
  • Multi-bounce lighting

To Be Completed

  • Vulkan
  • Linux
  • OBJ and Texture support

Dependencies

  • bx as base library for math, etc.
  • SDL2 for windowing and input.
  • stb for image I/O.

Screenshots

Metal

Toy Raygun Metal

D3D12

Toy Raygun D3D12

About

DirectX 12, Metal, and Vulkan Toy Raytracer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published