Protective coating as spray resist for the smoothing of surfaces