the best solution is to simply put the gloss map in the alpha channel of your color texture, and then just multiply the specular value by the alpha channel .. and then set the final color alpha to 1.0f