Picture files (sprites) are used to show the underground surface area to the camera . The sprites cover the camera view and when shot at, they are replaced with the explosions, dust and debri of a tunnel being formed by force.
Small tunnel areas would have their walls represented by the sprite inages of the walls whilst the resulting 'cave' look would be shown as the base model or blocks.

Larger areas would do the same or similar.