The only possibility to simulate a tunnel cutting through a number of layers is to use different slices for sections of the tunnel. In this way, one slice can follow the tunnel top until the next stratigraphic unit, there the next slice takes over etc. I attach an example image as this is hard to describe verbally.