Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 Jman006 · Aug 11, 2015 at 06:23 AM · 2dspritepixel art

Why are my spirtes getting extra pixels colored in?

I have just started trying to use the 2D features of Unity and I am having a problem with my sprites showing up correctly. I have a square sprite with a black boarder like the image below (The sprite was made with pixels in GIMP with a 256x256 canvas and a 64 ppi).

alt text

When I look in the game view, the squares have extra black boarder on the sides depending on their position on screen. See below.

alt text

I have a feeling this is a rendering issue, but I don't know how to go about fixing it. I have my sprite settings to Sprite Mode: multiple, Pixels per Unit: 16, Filter Mode: point, Max Size: 2048, Format: compressed.

I have tried other setting and nothing seems to fix this issue. A filter mode of bilinear seems to take away the problem, but then I have fuzzy sprites which is not good.

Any suggestions on whats wrong and how I can go about fixing it?

2015-08-11-010337.jpg (3.1 kB)
2015-08-11-005843.jpg (7.5 kB)
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

Answer by saschandroid · Aug 11, 2015 at 06:39 AM

In the first image you posted (gimp) it looks like the black borders ARE of a different thickness (left & top vs. right & bottom). You should check this in gimp and also the border settings in the sprite editor (unity).

Comment
Add comment · Show 2 · 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 Jman006 · Aug 11, 2015 at 02:51 PM 0
Share

I agree the bottom looks a bit larger, but I think it is the yellow outline throwing things off because I just checked and it is the same on all sides.

avatar image Jman006 · Aug 11, 2015 at 02:53 PM 0
Share

It's worth noting that I do get proper looking sprites if I use a filter mode of bilinear or trilinear, but then my sprites look fuzzy.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How to slice image into pixels and put formed image into game. 0 Answers

Unity 2D Sprite not Showing up at Low Pixels Per Unit Setting Under Tight Mesh Type 1 Answer

How to fix 2d sprites getting blurry when moving 0 Answers

2d sprites different resolution in Unity / Explorer 1 Answer

Problem with the borders of pixel art sprites 2 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