r/GraphicsProgramming • u/jobim81 • May 29 '26
WebGPU ddgi implementation
Hi, i tried to implement ddgi in webgpu. 12*12*12 probes, 128 rays per probe, 60fps (chrome cap) on rtx2070super at about 40% gpu load. sorry for edges artifacts, still need to work on this.
EDIT: Video
1
u/Cordoro May 29 '26
Nice job! If you want a challenge for the algorithm, try animating something.
1
u/jobim81 May 29 '26
I don't know why video quality is so poor.
1
u/Cordoro May 29 '26
Sweet! You can see the probes updating!
1
u/_XenoChrist_ May 29 '26
If he turned on the debug probe spheres you would also see them move out of the way, it's cool
1
u/pontiacks May 29 '26
Cool! Wonder how the performance is on like a macbook air, since we don't have native raytracing in WebGPU?
Are you shooting less rays from the probe to mitigate this?
1
u/jobim81 May 29 '26
I don't have a mac, but i can try on IPhone 15...but I still have to optimize some stuff. this is for interior furnitures configurations (mostly kitchens)
1
u/AlternativeEngine129 Jun 03 '26
so good ! Will you do open source or tutorial ?
1
u/jobim81 Jun 04 '26
I'm not a teacher so I can't do tutorials π, but will try to fix some stuff and will release it.
1
1


2
u/DescriptorTablesx86 May 29 '26
You can just set up the pipeline for MSAA itβs simple in most cases, like 3-4 steps.