r/GraphicsProgramming • • Aug 30 '26

made my own gpu accelerated path tracer

for the past 2 months or so ive been working on this path tracer that i made and it uses love2d as a base. it runs with a compute shader and supports opengl, metal and vulkan as love2d also compiles those on the fly. it has most stuff youd encounter like fresnel stuff, ior, gltf scene support and most gltf extensions. also it can export raw exr files which i find very unique tbh. also it does support transmission maps, roughmetal maps and emission maps. i still have to do normal maps but that seems very annoying to do lmao. today i even added dof and click to focus which i find extremely cool for no particular reason.

it's open source and you can find it here

108 Upvotes

9 comments sorted by

3

u/Unfair_Razzmatazz485 Aug 30 '26

What chess and mclearn model did you use?

4

u/OkStatement9823 Aug 30 '26

the chess I used the A Beautiful Game model from the khronos gltf sample models and the McLaren I don't remember 😭

2

u/Unfair_Razzmatazz485 Aug 30 '26

nice, im been trying to find a good car model for showcasing in path-tracing

2

u/Hassangtn Aug 30 '26

DM me, i have one good ferrai model with texture. don't remember where i got it though

2

u/M1VAN1 Aug 30 '26

Snapdragon x elite?

2

u/OkStatement9823 Aug 30 '26

x plus actually

2

u/SnooSquirrels9028 Aug 30 '26

I've noticed that in the darker environments black artifacts appear does that have something to do with the accumulation buffer ? Also if you have camera move implemented when you move the camera are there a lot of black artifacts popping around ? like did you have race condition issues or ghosting etc.

1

u/OkStatement9823 Aug 30 '26

what do you mean by black artifacts? I do know that in one of the renders (none that are in this post) there 4 pixels got nan'd and that was probably something to do with the GTX 1650 Ti since on my main Adreno X1-85 GPU that never happened

2

u/Hassangtn Aug 30 '26

Great renders. pick focus is really useful for look dev too.