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 Catlard · Oct 02, 2011 at 05:49 AM · shaderpixelpixelation

Shader for pixel art?

Hey, so...

I'm making a game with very low-resolution pixel graphics. And I'd like to find a shader that will take a very small pixellated image (I'd like to keep the file size extremely small) and scale it up big and NES-beautiful in Unity, but without causing the texture to look blurry--as it does with any of the standard shaders that I'm trying out Is there a shader for this that anyone could point me to? I will give you a pixel bicycle if you can find one/have one.

I've tried setting the Filter mode to point and the aniso level to 0, but I'm still getting the following weird anti-aliasing. In the picture, the in-game unity build is next to the original image file in the image-editing software I'm using.

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 syclamoth · Oct 02, 2011 at 06:43 AM 0
Share

that's some weird problems you have going on there. Try setting the importer texture type to 'Advanced' and messing around with that- it may have something to do with the texture compression mode.

2 Replies

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

Answer by syclamoth · Oct 02, 2011 at 06:04 AM

It's in the texture import settings- under 'Aniso Level', you need to set 'Filter Mode' to 'Point'- this disables anti-aliasing on imported textures!

(Which is to say, it doesn't have anything to do with your shaders!)

Comment
Add comment · Show 9 · 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 Catlard · Oct 02, 2011 at 06:07 AM 0
Share

Yay! Yippeee! Hooray! Thanks. I can send you your pixel bike, if you'd like.

avatar image Catlard · Oct 02, 2011 at 06:14 AM 0
Share

wait, though...this still causes some slight anti-aliasing. see the picture...

avatar image syclamoth · Oct 02, 2011 at 06:18 AM 0
Share

Picture? Try setting 'Aniso Level' to 0.

avatar image Catlard · Oct 02, 2011 at 06:31 AM 0
Share

yes, i've reposted the picture below--and the aniso is set to nil. But no luck as of yet.

avatar image syclamoth · Oct 02, 2011 at 06:39 AM 0
Share

yeah, I don't think that picture is working. It's a shame, I can't really help you without it! I know there's a solution to this one.

Show more comments
avatar image
0

Answer by 2048Terrabit · Nov 21, 2012 at 04:12 PM

To the guys who search for solution, but stuck at same point: Disable texture compression/optimization or whatever it is called.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

GameObject Tilemap conflicts with the Pixel perfect camera 0 Answers

Change Color Based On Pixel X Coordinate in Shader 1 Answer

Line Renderer will clip some segments if its too far. How to force it to draw regardless of distance? 1 Answer

Outline Shader HELP 0 Answers

iPod Touch normal mapping errors 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