Octree junctions

I’m building a world with octrees culling, the problem are the edges where the cubes meet… I would like to know how I can slipt the triangle (the simples geometry in the world) in the face of the quad of the cube… Like Quake3 with the decals, clipping them where necessary…

Thanks