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 esaevian · Mar 26, 2012 at 10:08 PM · androidiostexturesizelarge

Splitting Large texture among multiple planes

Hello,

I am currently dealing with a 2d mobile project, and as such, the art assets I received are 1024x768.

I am using 2dToolkit and I'm setting up the background, but since the background is 1024 pixels in at least one dimension, they won't fit on a Material that is 1024x1024 (which is the maximum for non-retina displays on the iPhone, as I understand) when you take padding under consideration.

To fix this problem, I came up with the genius(?) idea to just split the large textures so they could live on separate materials, and then I would create two sprite GameObjects (basically just planes) and slide them right up next to each other. Problem is that it's a pain in the butt to get them exactly perfectly aligned (Lots of zoom-zoom-drag-check-nope-drag-drag), and, even if it's aligned in the Game view, when I push it out to a device, there is a very clear "seam" visible between the two objects!

Having to wait to push to a device (a 5+ minute process on my machine) is just too much to check for such a small but significant thing. There has to be a better way.

I haven't touched the import settings since 2dToolkit is handling that, so I don't want to mess it up too much. But is there any other way to deal with screenfilling textures? (And since this is a 2d app, the textures would be filling up the screen ALL THE TIME)

Thanks in advance! -Esa

Comment
Add comment · Show 1
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 Eric5h5 · Mar 26, 2012 at 10:20 PM 0
Share

Third-generation devices don't have retina displays, but they do 2048x2048. So you could drop support for first- and second-generation devices.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · Mar 26, 2012 at 10:12 PM

You should definitely manage that in a script, not try to align them by hand. In a Start function, get the dimensions of those things and set their positions accordingly. Ex: if each planar mesh is 1 unit wide, they need to be 1 unit apart. If the first one is at 0,0,0, the next one to the right is at 1,0,0 and so on.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

unity3d www download of large texture mobile 0 Answers

Blurry Texture at large size. 2 Answers

My iPA is much larger than my apk 0 Answers

How to apply downloaded textures on Android/iOS 1 Answer

QR-Code Decoding for iOS and Android 0 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