Skip to content

sporsh/sundog.js

Repository files navigation

A physically based path tracer written in JavaScript

Live demo: https://sporsh.github.io/sundog.js/

Test renders:

Example (39) Example (43) Example (45) Example (47) Example (49) Example (52) Example (54) Example (56) Example (57) Example ~20k spp

Features

  • Geometry
    • Spheres
    • Planes
    • Triangles
    • Signed distance fields
    • Acceleration structures
    • Object instancing
  • Camera
    • Perspective camera
    • Orthographic camera
    • Depth of Field
  • Monte Carlo integration
  • Distributed rendering
  • Progressive rendering
  • Spectral rendering
  • Motion blur
  • Importance sampling
    • Lambert
    • Specular reflection
    • Specular transmission
    • Fresnel dielectric
    • Fresnel conductive