Preheat oven to 350°F (175°C). Grease an 8x8 or 9x9 baking dish.
In a mixing bowl, combine cream cheese and 1/4 cup melted butter until smooth. You can microwave them together in 15–20 second intervals to help them blend.
Stir in both cans of corn, garlic powder (if using), and pepper. Mix well.
Pour the mixture into the prepared baking dish and spread evenly.
In a separate bowl, combine crushed Ritz crackers with 2 tablespoons melted butter.
Sprinkle the buttery cracker crumbs over the top of the casserole.
Bake uncovered for 30–35 minutes, or until the edges are bubbling and the top is golden brown.
Let cool slightly before serving.