r/GraphicsProgramming 3d ago

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

106 Upvotes

9 comments sorted by

3

u/Unfair_Razzmatazz485 3d ago

What chess and mclearn model did you use?

4

u/OkStatement9823 3d ago

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 3d ago

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

2

u/Hassangtn 2d ago

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

2

u/M1VAN1 2d ago

Snapdragon x elite?

1

u/OkStatement9823 2d ago

x plus actually

2

u/Hassangtn 2d ago

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

2

u/SnooSquirrels9028 2d ago

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 2d ago

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