|
I'm importing my .PSD file, but even though the background is Alpha'd, the texture's background comes out white. I then did everything that is detailed at http://vimeo.com/8444889 but the "stamped alpha" layer just becomes visible n the actual texture! Any ideas what I'm doing wrong?
(comments are locked)
|
|
Sometimes Photoshop files in Unity don't like to acknowledge the alpha channel unless there's an actual background layer. Try flattening the image. I should add that Photoshop files support plain ol' transparency, as well as transparency by using an alpha channel. Most of the time you'd want to use an alpha channel, since regular transparency tends to result in white fringes because of not being able to specify a matte color. do you know if the new photoshop smartobjects might affect things?
Dec 28 '10 at 12:49 PM
ina
psd is spritemap composed of several crisp png transparency from Flash, but appear jagged with white lines in unity
Dec 28 '10 at 12:49 PM
ina
(comments are locked)
|
|
Make a new layer behind everything and fill it with a solid color. If any pixels are at all transparent, unity will use the resulting image transparency and ignore the alpha. This is non obvious sometimes when some pixels are slightly translucent, or maybe a few pixels in the corner end up being transparent. Been wrestling with the seemingly randomness of this for a while...
(comments are locked)
|
|
The only thing that works for me when this starts happening is to take a texture that is working, say a Unity default Grass texture, and replace it's contents with yours and save with a new name.
(comments are locked)
|
|
That's because Photoshop will sometimes choke on transparency, and .jpg files, being exported from PS, don't support transparency at all. Transparency in png. files, however, is much more stable. You can export png. files from Fireworks, Paint, and Gimp. oh, right. Thanks!
Apr 12 '10 at 10:52 PM
Fareed Dudhia
No problemo, happy to help.
Apr 12 '10 at 10:58 PM
e.bonneville
Photoshop and .psd files definitely support transparency.
Apr 12 '10 at 11:09 PM
Eric5h5
Well, it seemed to work for him. Anyway, I just realized I'm thinking of .jpg, which is exported from Photoshop.
Apr 13 '10 at 01:26 AM
e.bonneville
(comments are locked)
|
