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 username132323232 · Feb 09, 2015 at 04:31 AM · artifacts

A thin line on the edge of a quad.

Hello. For a 2D game scrolling background, I use a quad with a texture. The texture image is exactly 2048x512. For some reason when the texture is applied to the quad, there is very thin line that I can't get rid off no matter what! Here are the relevant screenshots, but please feel free to request more details if necessary.

alt text alt text

line-artifact-2.png (19.8 kB)
line-artifact.png (65.7 kB)
Comment
Add comment · Show 5
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 shriya · Feb 09, 2015 at 05:04 AM 0
Share

Try thisalt text

Or try changing the shader to Transparent /Cutout/Vertexlit

screen-shot-2015-02-09-at-103108-am.png (21.3 kB)
avatar image username132323232 · Feb 09, 2015 at 06:06 AM 0
Share

Thank you for the suggestions.

1) Changing texture type to GUI won't work for me because I need to set Wrap $$anonymous$$ode to Repeat.

2) Transparent/Cutout/Vertexlit actually gets rid of the line but the image looks much worse. Perhaps it turns anti-aliasing off?

avatar image username132323232 · Feb 09, 2015 at 06:57 PM 0
Share

That actually helped! Please enter your solution as an Answer. alt text

Also, do you have any idea where the problem originated? Is it the way the image was created or the way Unity imported it?

line-artifact-solution.png (14.1 kB)
avatar image GameVortex · Feb 09, 2015 at 07:49 PM 0
Share

Not quite sure what the problem could have been. You are using a simple Unity Quad right, not a custom one? It $$anonymous$$ight have been a side effect of having the texture set as repeating.

avatar image username132323232 · Feb 09, 2015 at 08:15 PM 0
Share

Yes, it's a simple Unity Quad. The artifact appears only when the texture is set to repeating, so that would imply that Unity places texture on the quad with a tiny error.

3 Replies

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

Answer by GameVortex · Feb 09, 2015 at 08:17 AM

Seems like the UVs are a little wrong and that line is the bottom of the texture. Try changing the UV offset of the material by very very little.

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 username132323232 · Feb 09, 2015 at 08:15 PM 0
Share

Thanks again. It worked!

avatar image
0

Answer by mtringel · May 29, 2018 at 08:05 AM

I have the same issue with my transparent quad and in my case the UV-s are correct. Texure aniso is set to 2 (the artifact does not go away from higher aniso). Only visible at low view angles. Any suggestions? (the quad is rotating, so it's clearly bothering, visible even from a distance)

alt text


quad-artifact.png (126.7 kB)
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 spark-man · Dec 24, 2021 at 06:30 PM 0
Share

This is caused because of wrap mode Repeat, it is used to tiling. To fix it use wrap mode Clamp instead.

avatar image
0

Answer by spark-man · Dec 24, 2021 at 06:29 PM

This is caused because of wrap mode Repeat, it is used to tiling. To fix it use wrap mode Clamp instead.

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

23 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to stretch only the middle of a GUI texture? 1 Answer

White pixels along tree creator trees 1 Answer

Bumpmap texture issue 1 Answer

Artifacts at seams when baking lightmaps! 1 Answer

Graphical artifacts 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