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 oglepole · Mar 23, 2015 at 09:07 AM · billboards

Unable to remove white outline for billboards

For over a week now I have been fighting with unity's billboards having a white outline around the outside once it gets dark in my game. The issue is essentially I have a tree (from unity terrain system that was painted on) having white outlines around itself at night.

I did my research and originally thought it was just the textures on my end, but after learning about alpha channels and verifying - I am confident my textures are correct.

When I looked around, I only found one other post with someone claiming to resolve the issue and even then it contained some people saying it didnt work. This seems like such a minor and trivial thing to over look - so there has to be a solution!

Has anyone ever dealt or solved white outlines around a billboard? Is it shader related? Is it import settings related? I am pretty desperate at this point to try anything - as I have played around quite a bit now and still have not gotten anywhere.

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
0

Answer by AlwaysSunny · Mar 23, 2015 at 09:07 AM

Without pictures, it's hard to know what you're talking about. Does this happen to all of your vegetation? Just leaves on trees? Just your textures, or stock Unity textures too? Screenshots are almost mandatory for visual issues.

If you mean the quad itself has an unwanted outline, that's one thing. If the outline is around the "cutout" portion of the image, that's another.

In the case of quad outlines, try setting the relevant textures' import settings to "Clamp" mode instead of "Repeat". Ensure your textures' alpha channels are clean and free from any artifacts. If the problem persists it may be a compression or atlasing issue, and you might attempt to increase the project's quality settings, or the maximum allowed quality for that texture in its import settings. (Basically just tinker with all that jazz and see what happens, heh.) If all this fails, try bumping the contents of your vegetation textures "up" a pixel, leaving a black strip at the bottom of the alpha channel.

If your unwanted outline is around the cutout of the veggie, play with the cutout parameter on the material. Ensure you have the cleanest alpha channels you can possibly make. Be aware that with cutout shaders like the veggie shader(s), you won't achieve a perfect cutout, and you may need to make a concession by reducing the size of the white areas on the alpha channel by a pixel or so, e.g. select layer contents, reduce selection by 1 pixel, invert selection, delete key.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Terrain Tree Billboard have bright outline against dark background 6 Answers

How to make billboard grass drop shadows in Unity 5? 0 Answers

Terrain system trees slightly sharpen and blur depending on camera rotation 2 Answers

Particles are rendered in front of tree billboards 1 Answer

Vertex Billboard Shader Depth? 1 Answer


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