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
1
Question by elixir-bash · Jul 31, 2013 at 10:43 AM · cameratexturerendermodels

White line along the edge

alt text![alt text][2]![alt text][2]Hi Guys, We have created a 3D model of a building and imported in unity and have applied textures to it .The textures are in JPG hence no alpha. When i move the camera near the object the edges look good with 2K sized trextured.But when i move away from the model , the white lines appear along the edges and it spoils the overall look and feel. What have i tried and failed : 1)Adjusted the near clip and far clip values 2)enabled anti aliasing : tried upto 8X 3)Changed texture settings
a)set mip maps b)set all possible settings in advanced 4)Checked the normals of the model in MAya.No issues with it

Please find attachment of screenshot when taken near the object and far from it

img.jpg (188.5 kB)
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
1
Best Answer

Answer by mrmork · Jul 31, 2013 at 04:51 PM

It looks like result of mipmap, the texture area on the edge of the model is getting "blurred" against a brighter nearby pixels. Increase padding when bake texture, or try to fill the unused area in the texture with a darker colour.

Comment
Add comment · Show 3 · 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 reptilebeats · Jul 31, 2013 at 04:53 PM 0
Share

i agree with mmork, it may be to do with mip maps. quickest way to tell is turn mip maps off on the texture import settings. if it is just change the background color in photoshop to match the main the main color of the building and then in future give your texture maps a bit more space from the uv edge

avatar image sparkzbarca · Jul 31, 2013 at 06:34 PM 0
Share

im with them, try upping texture padding

avatar image elixir-bash · Aug 01, 2013 at 04:47 AM 0
Share

Thank you guys.. i tried the UV adjustments and the seam seems to dissapear at a distance .Now i have applied a darker color bgd ins$$anonymous$$d of white and tht made a lot of sense and it works !!

avatar image
0

Answer by RPGstandard · Jul 31, 2013 at 11:11 AM

what wrap mode do you have it set to in the inspector? try setting it to clamp

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 elixir-bash · Jul 31, 2013 at 02:06 PM 0
Share

Hi , my current mode is clamp. Still no change

avatar image rowdyp · Jul 31, 2013 at 02:46 PM 0
Share

are you using any special shaders or settings on the camera?

avatar image elixir-bash · Jul 31, 2013 at 03:18 PM 0
Share

Hi rowdyp,im using only default unlit/texture shaders here.. Im actually testing with the default Camera here.. As i move my camera away the white line comes into picture..

avatar image rowdyp · Jul 31, 2013 at 03:25 PM 0
Share

It probably has something to do with the clipping mode or render settings on the camera. I would try those, if not, it may actually be a missed seam in the texture map...

avatar image rowdyp · Jul 31, 2013 at 03:59 PM 0
Share

However, I am 90% sure this is a camera problem

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

21 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

Related Questions

Apply Render Texture To GUI + Transparency? 2 Answers

Can i render a camera to a gui texture? 1 Answer

My .blender files arent textured in unity, what am i doing wrong? 3 Answers

Capture RenderTexture pixels multiple times in one frame? 1 Answer

How to texture fbx models in unity 2 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