A common way to do this is to take a 3-D mold, fill it with a waste crop like corn stalks or hemp, add water, wait a few days for the mycelium to grow throughout, remove the mold, and you're left with a grown 3-D form.