How you cook your mushrooms can also impact their flavor; for example, searing mushrooms gives them a smoky flavor, but roasting mushrooms gives them a nutty or buttery flavor. If you want to avoid salt, you can add herbs — such as cilantro, basil, and parsley — to the pan as you cook the mushrooms to give them a more subtle flavor.