Caves in Terragen2
from neon22

The attached TGD shows how to make a cave in Terragen2 Technology Preview.

http://www.planetside.co.uk/terragen/tg2/tech_preview.shtml

Basically add a negative terrain and then fill in the section above using a distribution shader. Open the attached TGd file and examine its node network in the Technology Preview available at the above download link.

End result is this: