You can use either. For crispier crusts and edges on brownies, use a metal pan. For glass pans, you may need to add up to 5 minutes of baking time.