A Simple Raytracer

A GPU raytracer written using GLSL that also supports CPU rendering. Written in 2006. A much comprehensive ray-tracer could be written using todays hardware. Inspired from NVidia Cg Raytracing Demo. Nevertheless, it supports the following;

  • Phong, Blinn, Minnaert, Anisotropic Ward, Cook-Torrence shading models
  • 2 light sources
  • Ray-trace depth up to 8 with shadow rays
  • Spheres
  • Every option can be altered on runtime using the GUI
  • 3 different scenes


Sources and binaries can be downloaded from here and here.