Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
4
Question by Tom 3 · Mar 29, 2010 at 07:49 PM · textureiphonetile

Tiling textures in Unity for Iphone?

I only have access to standard Unity right at the moment, but my boss is working with Unity iPhone. She seems to be having some difficulty getting textures to tile properly, even though they tile fine in standard Unity. Is there a difference in tiling method between Standard and iPhone? If so, could I get a simple walkthrough on what the differences are?

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
5
Best Answer

Answer by Eric5h5 · Mar 29, 2010 at 09:28 PM

The iPhone has very limited precision when it comes to UVs, so you can't let them get too far out of the 0..1 range before you start getting artifacts. For example, instead of having a square plane made of a single quad (two triangles) where the tiling is set to 100 (which makes the UVs go from 0..100), you may have to break that up into 10x10 quads where each quad has the tiling go from 0..10. I'm not sure what the limit is exactly, so that example might not be completely accurate.

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 producerism · Oct 11, 2015 at 11:58 PM 0
Share

Thank you so much for this. After searching for countless hours/days, I only found one other reference to iOS limitations on UV precision here. But it's still quite vague. Either way, based on your comment I replaced one large quad that I was setting UV tiling to wrap, with many smaller quads. It solved a number of issues I was experiencing -- sprites flickering, and also a very odd masking/$$anonymous$$ring effect where sprites would appear to intersect with the background quad, as if it were 'wavy' in on the Z-axis (but of course, being a 2D game everything is flat and have Z set to 0).

Thanks again, huge help -- it was only affecting mobile (and iOS moreso than android, once I disabled 32 bit display buffer) so hard to test and resolve until I saw this.

avatar image
2

Answer by duck · Mar 29, 2010 at 07:53 PM

I haven't heard that there are any differences in this area*.

Just make sure that the "Wrap Mode" on the texture's inspector settings is set to "repeat" and not "clamp".

You should then be able to adjust the "Tiling" settings for the material in question, and the texture will repeat.

*edit - except for the reduced precision problem which I have now heard of thanks to Eric5h5's answer :-)

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

1 Person is following this question.

avatar image

Related Questions

Tiling textures issue 1 Answer

Animated GIF as a texture on Iphone 3 Answers

create a building with the same texture 1 Answer

Transparent gaseous/foggy sphere 0 Answers

Tilemap: Resizing Tiles? 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