/GLSL-PathTracer

A GLSL Path Tracer

Primary LanguageC++MIT LicenseMIT

GLSL-PathTracer

A physically based path tracer that runs in a GLSL fragment shader.

Jinx

Tropical Island

Features

  • Unidirectional path tracer
  • Two-level BVH for instancing
  • Disney BSDF
  • Texture mapping (Albedo, Metallic-Roughness, Normal, Emission)
  • Analytic lights (Spherical, Rectangular, Directional)
  • Image based lighting
  • Multiple importance sampling
  • Tile rendering
  • OpenImageDenoise
  • Stochastic alpha testing
  • MagicaVoxel style homogeneous volumes
  • GLTF/GLB support (In progress)

Build Instructions

Please see INSTALL-WIN.txt for the build instructions for Windows and INSTALL-LINUX.txt for Linux

Sample Scenes

A couple of sample scenes are provided in the repository. Additional scenes can be downloaded from here: https://drive.google.com/file/d/1UFMMoVb5uB7WIvCeHOfQ2dCQSxNMXluB/view

Gallery

Monster

WW2

RenderMan Swatch

Dragon

Stormtrooper

Panther

Crown

Mustang

Mustang_Red

Hyperion

Ajax

Dining Room

Rank3PoliceUnit

Staircase

Substance Boy

References/Credits