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
1
Question by shrapnel09 · Oct 11, 2016 at 06:51 PM · texturetransparencyplane

Getting Transparency on a .PNG Texture on a 'Plane' Object to Work Properly

Hello!

I really tried to make this work before posting here but after many, many attempts I have no idea what I'm doing wrong.

So I created an Empty 3D Object, imported this .PNG image as the texture asset and tried every transparency option available (ie Legacy Shaders > Transparent > Diffuse) and I can never get the white background to be transparent. I was following this video and another one step by step but nothing.

Now if I select my bullet_hole texture and adjust the properties directly and check ' Alpha from Grayscale' The black/grey center goes transparent but the white outline remains, so kind of opposite of what I'm going for :P. If I can somehow swap what it thinks the Alpha is I'll do that.

Also I created a simple .PNG from scratch (mspaint, white square with black circle in center) and same issue, so I don't think its the original image I used that is causing the issue. I'm sorry to bug you this simple situation but every procedure I look up/research just works for everyone but myself. Please let me know what additional info you may need to help out. Thanks!

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

1 Reply

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

Answer by tanoshimi · Oct 11, 2016 at 06:57 PM

Your problem is that you keep on creating textures with an opaque white background. If you want transparent textures, you not only need a transparent shader, but also you need to have transparency in the source image (MSpaint really is not suitable for this - you need a proper image editing program like GIMP, or even Paint.net would do).

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 shrapnel09 · Oct 12, 2016 at 01:45 AM 0
Share

$$anonymous$$y goodness that was so obvious! For some reason I kept thinking Unity would some out auto-detect what 'should' be transparent. Guess I was a little confused when watching videos on this they seemed to be using a regular .png and then had to add the transparency effect afterward.

Either way yes, making it transparent from the beginning did work! THAN$$anonymous$$ YOU $$anonymous$$r. Tanoshimi, I am officially in your debt, if you need any moral support in any form just hit me up! :)

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Unlit/Transparent texture leaves dark lines on the transparent edges 1 Answer

Gradient transparency results in full opacity for half of the gradient 1 Answer

Making a countdown out of 3D planes. 1 Answer

Texture transparency not working as expected 3 Answers

Trouble getting a transparent texture 0 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