Insert spec map into alpha channel in photoshop CS6?

I’ve baked a specular map in crazybump,

and unity doesn’t have any shaders that has the spec map separate,

meaning I have to store it in the alpha channel of the texture…

The question is, I’ve tried inserting the spec map into the alpha channel of the texture in photoshop CS6 but cant figure out how to do it. How do you do it?

Thank you in advance.

Even though this is about photoshop I would say this is a Unity question, since everything else in my experiance uses alpha for transparency and not specularity. Thus people will look for answeres on this topic here rather then in a photoshop forum which will tell them to hit channels and paint an alpha channel with black and white (which by default will show up with red tones and not work properly for unity and if you try to “place” the spec/gloss map into the layer it will just import to a new layer and make a black alpha.).

So for anyone else searching for a salution I have shamlessly copied a few lines from https://sites.google.com/site/tessaleetutorials/home/turn-your-texture-maps-into-a-material-in-unity-3d. This should hopefully save you time while searching the web.

1.Open your diffuse map (single layer, please) in Photoshop.

2.Open your spec map (also a single layer, please) in Photoshop.

3.Copy your entire spec map into your clipboard (that’s another way of just saying “ctrl + a” followed by “ctrl + c”).

4.Go back to your diffuse map, and go to your channels window (if it’s not already visible, click Windows > Channels).

5.Click the button for a new layer, and “Alpha” will automatically be that layer, visible, hiding all the other layers, and black for some reason.
6.Paste your spec map on that layer, and only that layer. Unhide the other layers, and save the file (targa is probably best since it will keep the channel data).

If this still gives you issues just use or create a new shader such as the ones found here, http://forum.unity3d.com/threads/70614-Color-specular-shader.

enjoy

Depends on the file format. However i believe this question should be deleted as it isn’t about Unity.

Anyway try .tga and create your alpha layer in the Channels-Menu.

I think you want to create a map like google maps look.
I made a 3d maps in path view just in Photoshop. I hope it will helpful for you.