Intersecting meshes with boolean

I had the same problem with stencil buffer but I found the solution. Hope my topic would help you. Please check out this link Mesh intersection by using stencil buffer