- Home /
How to control opacity in Cross Hair?
I want to control the opacity in cross hair as to make it 40% transparent. I have imported cross hair texture with alpha and I have applied unlit/transparent shader. I don't get any control to change the opacity.
There should be a color dile to adjust it. There is a pure black slider when you click on this. This is the stength "Opacity."
Thanks. But It doesn't really do transparent effect. I tried it.
Answer by oliver-jones · Aug 28, 2013 at 10:06 AM
If the material it uses is a Transparent/Diffuse, then, as AusAdnrew has pointed out - you can adjust the alpha.
Click on the material, then click on the 'Main Colour' box, and a colour window should pop up. Reduce the 'A' slider (which is the Alpha), and the transparency should decrease/increase.
Also, to make really clean transparent textures, do this in photoshop:
Okay, so this is my crosshair in PS. What you want to do now is merge all your crosshair textures together, and hightlight it (Cmd, Click on shape icon). Also turn off your background. Next, go into the channel tab, and click 'Create new channel'. An alpha channel should have been made, now fill your selection with white.


Then, go back to your layers tab, and paint the entire background the same-ish colour as your crosshair (in my case, its red), and turn the layer back on.
Within Unity, you can then adjust your alpha transparency however you want
Your answer
Follow this Question
Related Questions
crosshair help needed 2 Answers
Crosshair help 1 Answer
Question about a space shooter crosshair targeting script 1 Answer
Fire projectie to crosshair in center of screen 2 Answers
Aiming Down Sights Problem 2 Answers