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 ODINKONG · Nov 09, 2017 at 08:02 PM · spritespixel art

Why does this sprite look different in game than its source image

I have turned off filtering, I have also turned off anti aliasing what settings could be causing pixel are to change color in a number of places. like this. Are there settings I am missing here? If you look at his hand there is also a lot of different shades of white that are not there in the source image.

alt text

probelm1.png (45.0 kB)
Comment
Add comment · Show 4
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 ODINKONG · Nov 09, 2017 at 08:15 PM 0
Share

Ok I see now that it is the compression setting that is the issue it works on RBG 32 (no compressions) However we are making a game on mobile is that going to make our game significantly bigger?

avatar image jimm84 · Nov 09, 2017 at 08:52 PM 0
Share

ODIN$$anonymous$$ONG Hello. I'm guessing you are ready on a trial and error. Have tried to tinker with 'Save' setting in Photoshop? PNG-24.

In addition to to this in the past I have used something called "Pyngu" with some good results. its for compressing png's

Do scan and check if you decide to download these.

Pngyu >

PNGquant

Thanks,

avatar image ODINKONG jimm84 · Nov 09, 2017 at 09:04 PM 0
Share

That might also help, but in this case it seemed to be a unity issue.

avatar image Bunny83 jimm84 · Nov 09, 2017 at 09:14 PM 0
Share

That's pretty irrelevant as Unity won't store the image in it's source format in the final game. When you import a texture in Unity it's stored in an internal format. Which formats are actually used highly depends on the targetplatform. Any compressed format is usually a compressed format that is actually supported by the GPU. If a compressed format is not supported by the GPU it has to be uploaded to the GPU uncompressed anyways. GPUs do not support PNG files.


If you select a compressed format in the image importer in Unity the image will be stored in a supported compressed image format for the target platform. Almost all compressed GPU formats are lossy formats. The most common ones are listed here. If you don't want to have compression artifacts you have to use an uncompressed format.

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by ODINKONG · Nov 09, 2017 at 09:03 PM

You can fix this by changing the compression to RBGA 32. Make sure it doesn't say compressed next to it. Also in terms of file size we changed 3000 textures from compressed to uncompressed and it our game went from 35mb to 39mb.

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 ChrisOnButter · Mar 08, 2021 at 05:52 PM 0
Share

How exactly would I go about doing this? @ODINKONG

avatar image
2

Answer by Bunny83 · Nov 09, 2017 at 09:18 PM

Compressed GPU texture formats are always lossy formats. In most cases this isn't really noticable. However especially when using pixel art this might become a problem. However since most pixel art textures are relatively small it won't really hurt to store them uncompressed. The size of the APK (on android) won't really be affected as an APK is actually a compressed zip file.

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

79 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

Related Questions

Gaps between tiles in a tileset 1 Answer

What to put for pixel art PPU 1 Answer

Pixel art sprites being slightly distorted 0 Answers

1080 x 720 perfect pixel? 1 Answer

Pixel Perfect Camera Component 128 ppu pixel is too zoomed in for builds 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