This is just a proof of concept. I'm not too sure what to do about the artifacts.
But it only happens when meshes collide. If everything in your scene was just one big mesh, there would be no problem. Also supports animation because it uses triangles. But I have not implemented those things yet.