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
0
Question by GarbagePile · Jan 01, 2018 at 10:15 PM · texturespriteresolutionsizeart

What Size To Make Art Assets?

I have worked mostly with pixel art in the past, but for my current project I want to switch to using illustrated artwork. If I'm aiming for 1920 x 1080 as my max resolution, should I size my art based on that (i.e. if a character needs to take up a third of the screen make their sprite 640 x 1080) and import with a PPU of 1, or is there a more efficient practice for choosing sizes for art assets?

I've seen people say that art should be made larger than intended and then scaled down, stating that art doesn't lose quality when scaled down, but I've noticed that my art becomes visibly pixelated when this is done, presumably do the my undetailed art style making pixels easier to spot.

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

Answer by FlaSh-G · Jan 01, 2018 at 10:44 PM

You don't need to make the art bigger than intended, but work at least on the highest resolution you plan on using the image. Then, yes, use the Texture Import Settings to reduce the resolution. Unity will use the shrinked image in your project, but the asset file will not be touched and thus will keep the original resolution. So you can experiment with the resoliutions. Right below the "Max Size" setting in your import inspector, you can choose a resize algorithm and compression settings.

The advantage of this is simply that you don't have to recreate your artwork in a higher resolution if you happen to notice you need it - you can just scale it back up.

Comment
Add comment · Show 6 · 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 GarbagePile · Jan 02, 2018 at 12:07 AM 0
Share

So I made this sloppy test sketch at 1920 x 1080 resolution and imported it into Unity for testing. alt text

What I found was that A) I noticed no difference between compression levels unless the max size was very low, and B) The image was slightly outside the camera's view, despite my player being set to 1920 x 1080. I thought Pixels Per Unit was a meant for scaling images, but I guess that's not the case since the image is almost accurate at a PPU of 100?

alt text

So from what you're saying, my plan of choosing sizes based on max resolution will work. But, I am now utterly confused as to what I need to use for my import settings.

test-1.png (88.3 kB)
capture.png (109.5 kB)
avatar image GarbagePile · Jan 02, 2018 at 06:39 AM 0
Share

Update: After further messing around I realized that Pixels Per Unit refers to game units, meaning that this image with a PPU of 100 takes up 19.2 x 10.8 units. I simply changed the Camera Size to 5.4, which allowed the image to fit the screen with see$$anonymous$$gly no quality loss.

So from what I can tell, I should make my Camera Size 5.4, import my sprites with a PPU of 100, and adjust the $$anonymous$$ax Size accordingly depending on the resolution of the original artwork (i.e. this 1920 x 1080 image should have a $$anonymous$$ax Size of 2048). Is this correct, or am I still going about this wrong?

avatar image FlaSh-G · Jan 02, 2018 at 05:18 PM 0
Share

Sounds about right. Be aware though that 2048² is a pretty huge size for... let's say "not-so current gen" devices. For example, I'd usually not go above 512² for mobile devices so people with phones that are a bit old can still play it. Gamers have PCs that easily display 2048² and above textures, but if mom's laptop should run it, I'd not even go above 1024² for nice framerates.

Depending on your image, you might want to try to get creative and slice it up. I know the image you posted is just a placeholder, but in its case, you could make one image with the character, one with the text and maybe the arm, and a SpriteRenderer that renders the background color. Another way would be to slice the image into four parts - or accept a slightly lower resolution.

avatar image GarbagePile FlaSh-G · Jan 02, 2018 at 05:48 PM 0
Share

Ah okay. So, for instance, if I were to use this image for a mobile game I should cut it up into 512 x 512 blocks and position accordingly?

avatar image FlaSh-G FlaSh-G · Jan 02, 2018 at 05:50 PM 0
Share

Well... "profile first". Basically, test your stuff on devices and see if you're in the green or not. Decide to optimize your performance only after you found out that it poses a problem.

avatar image GarbagePile FlaSh-G · Jan 02, 2018 at 05:51 PM 0
Share

Gotcha. Thanks for the help!

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

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

Related Questions

What's the best texture resolution? 2 Answers

Problems with importing image.png at its actual size and quality 2 Answers

Tree Texture Altas Size 1 Answer

Preserving fine line art (variable zoom and resolutions)? 2 Answers

Photoshop project size question. 3 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