A downloadable game

Raymatic is a short experimental puzzle game made in two weeks, powered by a custom CPU-based ray tracing and path tracing engine I developed over six weeks as part of Year 1, Block C at BUAS.

Goal

Rotate procedurally deformed 3D objects until their shadows match a target shape. A concept inspired by Shadowmatic, reimagined with real-time CPU ray/path tracing. Each level challenges your perception and spatial reasoning in a calm, minimalist environment.

How To Play

Follow the tutorial in the game.

Engine Highlights

  • Built from scratch in C++ – no external rendering libraries
  • Fully CPU-based real-time ray tracing & path tracing
  • Acceleration Structure – Uses TinyBVH 1.5.0 for fast scene traversal

Lighting System

  • Direct lighting: Point, Spot, Directional, and Area (Quad) lights
  • Indirect lighting: Skydome illumination, Emissive geometry, and multi-bounce global illumination via path tracing

Physically-Based Materials

  • Ray-traced: Diffuse, Reflective, Dielectric (Glass)
  • Path-traced: Emissive and Lambertian with metallic/smoothness blending for flexible surface creation

Rendering Features

  • HDR Skydome lighting
  • Texture mapping
  • Depth of Field
  • Anti-aliasing
  • Stochastic sampling

Download

Download
Raymatic.rar 119 MB

Install instructions

  1. Download & open Raymatic.rar
  2. Run raymatic.exe

Leave a comment

Log in with itch.io to leave a comment.