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 headkitgames · Oct 20, 2010 at 01:11 PM · iphonetexture2d

really bad texture resolution

hi there!

i want to make an iphone game with some cards and try to map their texture in a file of size 512x3072, each card has 512x512 pixels. everything works fine but the resolution is really bad even though I used advanced texture type withou mipmap, trilinear filter mode and max size 1024 / RGB 16 bit. my shader is "diffuse".

what is wrong here? thanx!!!

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

1 Reply

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

Answer by Jean-Fabre · Oct 20, 2010 at 02:22 PM

Hi,

3072 is not a power of two size and by default, unity will stretch the image to have power of two width and height. Maybe that is the problem. You would need to select "none" in the "non power of two" setting of the texture when you are in advanced mode for the image not to be stretched.

Hope it helps,

Bye,

Jean

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 headkitgames · Oct 21, 2010 at 12:59 PM 0
Share

hm, I thouhght that must be the right answer, but when I changed the image height to 4096 nothing changed. the image looks still like from the 80ies - really pixeled and unsharp... :-(

avatar image Jean-Fabre · Oct 21, 2010 at 03:37 PM 0
Share

then maybe your uv mapping is wrong. Also check the preferences unity does apply compression depending on the platforms and the quality you want to achieve.

avatar image headkitgames · Oct 22, 2010 at 08:24 AM 0
Share

found nothing there. maybe the texture is too big? is there a max hight/width for textures2d's?

avatar image headkitgames · Oct 22, 2010 at 12:45 PM 0
Share

I now build everything new and took a texture 1024x1024 - that works. unity just calculated everything down to the maximum height of 1024 so the width went too small and with it the resolution...

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

No one has followed this question yet.

Related Questions

GetPixel not working on iPhone 1 Answer

Android and iOS memory usage (Sprite/Texutre2d) 1 Answer

Texture2D.EncodeToPNG not working on iOs on Unity 3.5.5f3 1 Answer

Get a portion of a Texture2D to another Texture2D 1 Answer

Does Prime31's textureFromFileAtPath require specific plane settings? 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