Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Fareed Dudhia · Apr 12, 2010 at 10:46 PM · texturealphaphotoshop

Textures with alpha problem

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?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by Eric5h5 · Apr 12, 2010 at 11:10 PM

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ina · Dec 28, 2010 at 12:49 PM 0
Share

do you know if the new photoshop smartobjects might affect things?

avatar image ina · Dec 28, 2010 at 12:49 PM 0
Share

psd is spritemap composed of several crisp png transparency from Flash, but appear jagged with white lines in unity

avatar image
1

Answer by mrlinds · Nov 16, 2012 at 04:35 AM

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...

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Satik64 · Jun 14, 2017 at 01:38 PM 0
Share

Thanks! I didn't really know where the problem was and you helped me.

avatar image
-1

Answer by e-bonneville · Apr 12, 2010 at 10:51 PM

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.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fareed Dudhia · Apr 12, 2010 at 10:52 PM 0
Share

oh, right. Thanks!

avatar image e-bonneville · Apr 12, 2010 at 10:58 PM 0
Share

No problemo, happy to help.

avatar image Eric5h5 · Apr 12, 2010 at 11:09 PM 0
Share

Photoshop and .psd files definitely support transparency.

avatar image e-bonneville · Apr 13, 2010 at 01:26 AM 0
Share

Well, it seemed to work for him. Anyway, I just realized I'm thinking of .jpg, which is exported from Photoshop.

avatar image
0

Answer by chad · Jan 23, 2011 at 06:39 AM

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Texture Alpha cutoff + Photoshop 0 Answers

Texture Issue causing Unity to Error on Web Player Build 1 Answer

How to Make a Character Flicker? 1 Answer

A PNG appears differently from its PSD 3 Answers

Video Texture - Alpha 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges