Z fighting

There is neat trick with materials. :wink:

Just utilize this node a bit.