GLSL Path Tracer

January 2020

A small path tracer I made in GLSL, hosted on ShaderToy. Link

  • Multiple Importance Sampling for direct lighting
  • Sphere and Triangle Primitives (Emissive Sphere only)
  • Veach’s scene
  • Phong BSDF
  • First Person Camera (camera parameters are stored in bottom left pixels !)

Render: image Balance heuristic weights visualization (BSDF sampling, surface sampling): image Another scene: image