Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 909 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 909 Bytes

Vulkan Path Tracer

Build and run

zig build run -Doptimize=ReleaseSafe -- --scene-path PATH_TO_SCENE

Dependencies

glTF scene compatability

glTF scenes require vetex UVs, normals and tangets along with materials for all meshes.

The glTF sample assets can be used to test the path tracer but some might need to have tangents added to them.

Command line arguments

  • --scene-path sets the path to the glTF scene to be rendered, no default this argument is required.
  • --num-samples sets the number of samples which are taken every frame, default is 1.
  • --num-bounces sets the number of bounces a ray can make before being terminated, default is 2.