GUI Texture Alphas... seriously whats the deal here.

Hey guys,
I’m playing around with GUI.skin as my collection of Styles is getting a bit silly. I’ve been beating my head against a wall for the last few hours over my transparant GUI elements. They always seem too transparent, as the greyscale that makes up the alpha is always too dark. Say for example I create a box and I want to fill it with a dark blue to white gradient. How the do I make the blue 100% opacity and the white transparent when the underlying alpha is dark grey to white. I do realise this is me asking a photoshop question but for all my playing around with layers for the last few hours I can’t figure it out. What would your workflow be in this situation? feel free to flame me or ignore me.

Thanks in advance.

If I read you correctly, you’re asking how to create a transparent gradient in Photoshop - what you’re describing isn’t something that Unity will handle.

If that’s the case, what you need to do is make sure you have a transparent background, then use your gradient tool to make your gradient(make sure the white color of the gradient is transparent), and then save it as a png(jpg won’t work - it doesn’t support alpha).

If the above doesn’t make sense to you, your best bet is probably to look up a tutorial - the process can be a bit different depending on the particular app you use.

Regards,

-Lincoln Green

Thanks for your help, in the end I created the alpha channel separately from a greyscale image and saved it to the fourth channel of my image. I exported as tga and got the effect I wanted.