If you want a thicker coating you should dip the shrimp in flour, then egg, and finally coat in cornstarch.