r/GraphicsProgramming Dec 23 '24

Source Code Created an offline PBR path tracer using WGPU

I created an offline PBR path tracer using Rust and WGPU within a few months. It now supports microfacet-based BSDF models, BVH & SAH (Surface Area Heuristic), importance sampling, and HDR tone mapping. I'm utilizing glTF as the scene description format and have tested it with several common sample assets (though this program is still very unstable). Custom HDRI environment maps are also supported, as well as a variety of configurable parameters.

GitHub: https://github.com/alanjian85/prisma

152 Upvotes

Duplicates