Metal baking pans work best for baking brownies. Glass is an insulator, so it takes longer for the oven's heat to get to the middle of the brownies. This can result in the edges being overcooked to get the center cooked.