aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 60d7f7498f5a3de92394beba96943ad7dfff9846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# realtime-raytracing-demo

A hardware-accelerated (via OpenGL) realtime raytracer written in C/GLSL.
Move with W/A/S/D and the mouse.
Supports spheres as a shape primitive and three materials: An ideal lambertian diffuse, metal (with adjustable diffuse), and dielectric (glass-like).

## building

GLFW requires X11 development headers to build. Should build on other platforms too, but I haven't tested it.

```
mkdir build
cd build
cmake .. && make && ./realtime-raytracing-demo
```