You can use either. A gray metal nonstick pan or an uncoated aluminum one gives a nice result. A glass pan also works and results in brownies with a fudgier middle and chewier edges.