Different mechanisms of splashing of droplets impacting onto the substrate surface during thermal spraying are considered. It is shown that supercooling formed in the flattening droplet consists of the thermal supercooling and that arisen due to the high pressure developed upon the droplet impact. Solidification starts when the supercooling exceeds some critical value. With a "cold" substrate when its temperature is less than a transition temperature the marked contribution to the supercooling is due to its high pressure part. In this case a regular disc-shaped splat will be formed in the central part of the flattening droplet and splashing will occur in the periphery. With a "hot" substrate when its temperature exceeds the transition temperature the thermal supercooling is high enough, no splashing occurs and a regular disc-shaped splat is formed. Theoretical results agree with the experimental observations.