# Caustyx: Light, traced by hand

> A CPU ray tracer with Vec3 algebra, ray-sphere intersection, Phong shading, hard shadows, recursive mirror reflections, and 2× supersampling AA. 13 tests on the core intersection and shading math.

Caustyx is a CPU ray tracer written from scratch: it builds up Vec3 algebra, ray-sphere intersection, Phong shading, hard shadows and recursive mirror reflections, then cleans the edges with 2x supersampling. The core intersection and shading math is covered by 13 tests. A dependency-light build you can download and run locally to see how rendering works under the hood.

## About the app

3D rendering

## What to take away

- A CPU ray tracer with Vec3 algebra, ray-sphere intersection, Phong shading, hard shadows, recursive mirror reflections, and 2× supersampling AA. 13 tests on the core intersection and shading math.
- Download: Caustyx (ZIP)

## Tags

Free software, Caustyx

## Read the full write-up

/downloads/caustyx.zip

## We build this for clients

https://dfieldsolutions.com/en/services/full-stack

## More from the lab

- https://dfieldsolutions.com/en/lab/sylex.md — Sylex: Make sense of the slashes
- https://dfieldsolutions.com/en/lab/kindra.md — Kindra: Miss a beat, not the rhythm
- https://dfieldsolutions.com/en/lab/voxara.md — Voxara: Argue better. Lose gracefully
- https://dfieldsolutions.com/en/lab/wraithward.md — Wraithward: Spot the bait before you bite

---

Source: https://dfieldsolutions.com/en/lab/caustyx
DField Solutions — Torony köz 5-1.a, 2120 Dunakeszi, Hungary — +36 20 722 0002 — dezso@dfieldsolutions.com
Booking: see https://dfieldsolutions.com/en/contact
