Home

Awesome

Lumen

License: MIT

Lumen is a Vulkan ray tracing framework that contains a variety of variance reduction techniques. Its aim is to accelerate some of the well-known rendering techniques in computer graphics literature with the help of the ray tracing hardware in modern GPUs. All the techniques Lumen implements run fully on the GPU.

Features

Rendering Techniques

Engine

About experimental features

With the recently integrated render graph, Lumen uses some of the more experimental Vulkan features. These are namely,

Showcase

Caustics Glass (VCM)

0

Caustics Zoomed (VCM)

1

Mitsuba Torus (VCM)

2

Japanese Classroom (Courtesy of Benedikt Bitterli)

3

ReSTIR 1 sample per pixel (Video comparison)

4

ReSTIR GI 1 sample per pixel (Video comparison)

5

Unbiased ReSTIR PT (aka GRIS) 1 sample per pixel (Indirect lighting only, on/off comparison)

6

Dynamic Diffuse Global Illumination (DDGI)

7

Building

To build Lumen, start cloning the repository with

git clone --recursive https://github.com/yuphin/Lumen.git

Requirements

Usage

Some of the sample scenes can be found in the scenes/ directory. Sample scene files with various integrators can be found in the scenes/cornell_box/ directory.

To load a scene file simply run:

Lumen.exe <scene_file>

Getting started with Lumen

The best way to get started is to take a look at the unidirectional path tracer implemented in src/Raytracer/Path.cpp and gradually explore the other integrators. From there, you can focus on the related shaders that are located in the src/shaders folder.

References