• 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 jrbailey1977 · Jan 17, 2011 at 02:45 AM · 3dtilesartifactsgraphic

3D Terrain Tiling Graphic Artifact

I've created a terrain for a character (currently the 3rd person shooter tutorial model) out of 1X0.1X1 cubes/tiles. The tiles have different child shapes based on the terrain tile type (e.g. plains are just a textured tile, while hills are a tile with some ellipsoids poking through the top). For the most part this is running very well and serves my immediate purposes; however, at times I'll see black horizontal lines of varying lengths flicker momentarily as the player moves around. These lines are always where the tiles meet. All of the shapes were modeled using Unity gameobjects and are intended to be temporary until I get more experienced with Blender. Is there something I can do within Unity to correct this?

Based on what I've found in the forums I've tried the following -

  1. ensure all of the textures in my materials are clamped...and then just repeated (no change with either)

  2. I've ensured that the game is synched to the monitor refresh (no change)

I've read somethings about UV mapping, which I will explore as I get more familiar with 3D modeling, and suspect I will not be able to correct this issue until I can create terrain tiles with Blender.

Here is a portion of the scene in the Sceneview. I've selected a few of the tiles so you can see how they are interconnected -

Scene View

Here is a portion of the game view, with the black line showing just behind the player character -

Game View

Any suggestions would be appreciated.

Thanks, Joe

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

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Jessy · Jan 17, 2011 at 04:00 AM

Sometimes it happens. If your tiles are snapped as well as they can be, I don't think you have a choice but to come up with an algorithm for welding the vertices at the edges.

http://forum.unity3d.com/threads/38018-Rendering-artifacts-at-vertex-seams-and-object-seams

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 jrbailey1977 · Jan 17, 2011 at 06:50 AM 0
Share

Jessy, thanks for giving me a good lead - I never came across this article. With respect to "welding" the vertices, do you mean just having them overlap or actually merge the two meshes so they share a common vertex?

avatar image Jessy · Jan 17, 2011 at 01:39 PM 0
Share

The latter. If you overlap, you'll get Z-fighting.

avatar image jrbailey1977 · Jan 17, 2011 at 02:36 PM 0
Share

Thanks again! Will let you know the results.

avatar image Ande · Mar 09, 2011 at 09:01 PM 0
Share

Did you ever solve this problem? I made a related forum post: http://forum.unity3d.com/threads/81194-About-welding-vertices-to-get-rid-of-visual-artifacts-in-a-tile-based-game

avatar image
1

Answer by twins686 · Dec 25, 2011 at 04:46 AM

ok i have solved this at least for powerful computers

go to each terrains settings and set pixel error to 1

i will have mor info shortly

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

How to load a new scene you create in current scene ? [Unity3D C#] 0 Answers

Rotation roadblock 0 Answers

How do I project coloured tiles onto a surface? (C#) 2 Answers

Issue with too much Vram occupation 0 Answers

Texture artifacts on device? 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