Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 DNP · Aug 27, 2012 at 07:04 AM · textureresolutiontransparent

transparent texture problem

hey, so im trying to make a sortof... "pixelated" game. So, i have textures that are like, 30 x 40 or 15 by 15 and when i try and make them transparent... the textures are not solid. EVERYTHING is see-through, it removes all the black but the stuff thats not black is partially see through and pretty much not even there. so please can someone help as soon as possible?

Comment
Add comment · Show 4
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 DNP · Aug 27, 2012 at 07:36 AM 0
Share

Bump :/ Need help.

avatar image ScroodgeM · Aug 27, 2012 at 07:42 AM 0
Share

what's wrong in that you see through texture once in become a transparent?

avatar image DNP · Aug 27, 2012 at 07:52 AM 0
Share

yes thats the problem

avatar image DNP · Aug 27, 2012 at 08:09 AM 0
Share

i can see through the part thats NOT supposed to be transparent... is what im saying. the part thats not supposed to be transparent is partially see-through

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by ScroodgeM · Aug 27, 2012 at 08:34 AM

  1. make texture's alpha channel so it will be 1 (white) at solid block and lower then 1 at transparent.

  2. don't use transparent value in color, since it applies to whole texture, not only to transparent channels

  3. switch compress type in texture import settings to true color to avoid compress artifacts.

Comment
Add comment · Show 7 · 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 DNP · Aug 27, 2012 at 08:43 AM 0
Share

i dont know what im supposed to do for the first 2 ones you said.

avatar image ScroodgeM · Aug 27, 2012 at 08:55 AM 0
Share

read a little about transparency and RGBA format 8)

avatar image DNP · Aug 27, 2012 at 08:56 AM 0
Share

I know a bit about RGB. if that helps.

avatar image ScroodgeM · Aug 27, 2012 at 08:59 AM 0
Share

i see.. but you need A to be able set transparency separated to pixels

avatar image ScroodgeM · Aug 28, 2012 at 08:30 PM 0
Share

example of alpha channel. this bubble window texture has 4 channgels - RGBA. and Alpha here removes black border from texture cause out of bubble alpha is 0.

you need same channel to make texture with transparency

alt text

1.png (65.3 kB)
Show more comments
avatar image
0

Answer by gribbly · Aug 27, 2012 at 08:09 AM

You need to explain the problem better. It sounds like you're saying "when I make my textures transparent my textures are transparent"... which is exactly what I'd expect!

Comment
Add comment · Show 8 · 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 DNP · Aug 27, 2012 at 08:11 AM 0
Share

Okay, the texture is supposed to be transparent ONLY on the black part. Well sure, that part worked. BUT the part thats NOT supposed to be transparent is partially transparent and NOT fully solid. Plus it looses quality.

avatar image gribbly · Aug 27, 2012 at 08:34 AM 0
Share

How are you setting the transparency?

avatar image DNP · Aug 27, 2012 at 08:36 AM 0
Share

i just set it to Transparent/Bumped Diffuse

avatar image ScroodgeM · Aug 27, 2012 at 08:38 AM 0
Share

so set color's alpha in material to non-transparent and set transparency to pixels using graph editor

avatar image DNP · Aug 27, 2012 at 08:44 AM 0
Share

hehe, um i know this may sound nooby... but whats a graph editor, and how can i access it?

Show more comments
avatar image
0

Answer by Piflik · Aug 27, 2012 at 08:43 AM

When working with such small textures, you have to disable filtering and compression. Open the Texture in the Inspector and set 'Filter Mode' to 'Point' and 'Compression' to 'True Color'.

Comment
Add comment · Show 13 · 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 DNP · Aug 27, 2012 at 08:47 AM 0
Share

Ah this did help with the quality loss. But the colored parts are still semi-transparent

avatar image Piflik · Aug 27, 2012 at 08:59 AM 0
Share

Did you check 'Alpha from Grayscale'?

avatar image DNP · Aug 27, 2012 at 08:01 PM 0
Share

Yes i did.

avatar image Piflik · Aug 27, 2012 at 08:06 PM 0
Share

Then uncheck it. You don't want that, you want to use the texture's Alpha Channel. (This option takes the texture's RGB value and uses that for Alpha)

avatar image DNP · Aug 27, 2012 at 10:34 PM 0
Share

what is the alpha channel? is it the A on the RGBA on the material?

Show more comments

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

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Hook texture loading in Runtime 0 Answers

Google Sketchup FBX problem 2 Answers

Transparent Background? 1 Answer

Primitive block texturing (In code) HELP 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