I notice some problems in pathtrace.glsl. I am sorry I have no time to fix them myself. If these problems exist, I hope this issue post can help you out.
The shadow rays of point light sources are not handled correctly. The maximum distance of the shadow rays should not be 1e32 for them.
The environment map evaluation in PathTrace() does not have MIS weight.
The direct light contribution is accumulated after RR. So if RR is activated, the direct light of the last bounce may not be added.
The punctual lights was a quick addition, but this commit 4b0e78d should hopefully fix it. If eventually there are area lights with glTF, the code should be adapted.
I notice some problems in pathtrace.glsl. I am sorry I have no time to fix them myself. If these problems exist, I hope this issue post can help you out.