glsl pathtracer
在GLSL碎片著色器中運行的基於物理的路徑示踪劑。


特徵
- 單向路徑示踪劑
- 兩級BVH實例
- 迪士尼BSDF
- 紋理映射(反照率,金屬 - 勞度,正常,發射)
- 分析燈(球形,矩形,定向)
- 基於圖像的照明
- 多重重要性採樣
- 瓷磚渲染
- 開放式化
- 隨機α測試
- MagicAvoxel風格同質卷
- GLTF/GLB支持(正在進行中)
建立說明
請參閱install-win.txt,以獲取Windows的構建說明和Linux的install-linux.txt
樣本場景
存儲庫中提供了幾個示例場景。可以從這裡下載其他場景
畫廊

參考/學分
- 對Cedric Guillemet(https://github.com/cedricguillemet)的大喊大叫,用於清理代碼,添加UI,集成Imguizmo,Cmake和很多修復程序。
- Tinsel Renderer(https://github.com/mmacklin/tinsel)在此使用該項目的場景描述和加載程序的修改版本。
- 雷在一個週末(https://github.com/petershirley/raytracinginoneweekend)彼得·雪莉(Peter Shirley)的出色書籍介紹性書,這幫助我開始了這個項目。
- Erich Loftis的Thrim.js Pathtracer(https://github.com/erichlof/three.js-pathtracing-renderer)。
- Optix簡介樣品(https://github.com/nvpro-samples/optix_advanced_samples/tree/master/master/src/optixintroduction)
- Mitsuba Renderer(https://github.com/mitsuba-renderer/mitsuba)參考驗證。
- PBRT-V3(https://github.com/mmp/pbrt-v3)提供了無盡的知識來源。在線書是一份不斷贈送的禮物。
- 模型鏈接/積分位於資產文件夾中(請參閱:Model Credits.txt)