- Home /
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.
You certainly ask interesting questions, @bfbc2jb.
Do you think you could take the time to use PROPER CAPITALISATION.
For instance, I just took the time to improve these in this post:
i ... I
ive .. I've
cs6 .. CS6
one huge slab of text ...add paragraph breaks
title .. added question mark and "I"
And so on.
The bottom line is idiots write like on a TXT phone - and you're clearly not an idiot based on your advanced and interesting questions!!!
Since this is a community of engineers working on difficult software engineering, I feel it behooves us to take a moment to type in a grown-up manner. That's my opinion, cheers !
Answer by Giantbean · Dec 13, 2012 at 09:09 PM
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
right the secret is you have to find the CHANNELS button - it is NEAR but not the same as the well-known LAYERS button
Answer by Broheim · Oct 02, 2012 at 01:22 PM
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.
no what i mean is how do you INSERT an image INTO the alpha channel so i can use the specular map with unity. please help
Answer by ali-imran · Oct 09, 2015 at 11:36 PM
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613081741im_/https://answers.unity.com/themes/thub/images/avi.jpg)