prideout / GLSL-PathTracer

A GLSL Path Tracer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GLSL-PathTracer

A physically based Path Tracer that runs in a GLSL Fragment shader.

Stormtrooper

Hyperion

Panther Recreation of a scene from Greyscalegorilla. Render time: 2 minutes on a GTX 750 Ti. 3 bounces

Crown

Features

  • Unidirectional PathTracer
  • RadeonRays for building BVHs (Traversal is performed in a shader)
  • Metallic-Roughness Material Model
  • Texture Mapping (Albedo, Metallic, Roughness, Normal maps)
  • Spherical and Rectangular Area Lights
  • IBL with importance sampling
  • Progressive + Tiled Rendering (Reduces GPU usage and timeout when depth/scene complexity is high)

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

TODO

  • IBL importance sampling
  • Emissive geometry
  • Two-level BVH for instances and transforms
  • Support for different texture sizes
  • Performance improvements
  • Support for rendering out animation sequences

Additional Screenshots

Ajax

Dining Room

Rank3PoliceUnit

Staircase

Substance Boy

City

Dragon

References/Credits

About

A GLSL Path Tracer

License:Other


Languages

Language:C++ 77.8%Language:GLSL 20.3%Language:CMake 1.3%Language:C 0.5%Language:Makefile 0.1%