Several factors influence the quality of castings, including mold design, material selection, pouring temperature, cooling rate, and post-casting processes like heat treatment and surface finishing.