Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 /
This question was closed Jul 20, 2015 at 02:20 PM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by Guandor · Jul 19, 2015 at 07:10 PM · shaderterrainandroid build

Weird blue/black things appearing on terrain on build

alt text

alt text

I have been trying to find what causes this for two days now. The only thing I have found is that blue things sometimes disappear when I transform that part of the terrain.

Note that it's fine on the editor, they only appear on the android build. Thanks in advance.

Comment
Add comment · Show 3
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 Graham-Dunnett ♦♦ · Jul 19, 2015 at 07:12 PM 0
Share

This is usually z-buffer rendering related. I'm not an android guy but try changing the near and far camera values and see if that helps.

avatar image Guandor · Jul 19, 2015 at 07:42 PM 0
Share

Nope, that doesn't help.

avatar image getyour411 · Jul 20, 2015 at 04:59 AM 0
Share

Every instance I've seen of this is Z fighting. Searched Google for "Unity Z fighting Android", lots of links.

1 Reply

  • Sort: 
avatar image
0
Best Answer

Answer by _Gkxd · Jul 20, 2015 at 05:32 AM

"Z fighting" occurs when two polygons are at very similar depth values, and the graphics card can't tell which one is in front. Different graphics cards can support different depth buffer resolutions, and I'm guessing that the depth buffer resolution of an Android's graphics card is lower than a computer's graphics card's.

The easiest way of fixing this is to move one of the layers slightly above the other, until z-fighting stops happening on the Android. 0.01 units is usually enough, but you might need more.

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 Guandor · Jul 20, 2015 at 11:02 AM 1
Share

I solved the problem by deleting overlaping layer, thanks to _Gkxd.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Transparent terrain shader not working 2 Answers

Rim Lighting on Terrain? 0 Answers

jungle terrain problem 0 Answers

How to make terrain partially transparent (lower opacity) 1 Answer

How to get toon Shader to work with terrains - Answered 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