Both glass and metal pans can be used to bake salmon, and the choice often comes down to personal preference and the specific recipe.