Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 doctordingus · May 04, 2018 at 05:13 AM · pointfilterpixelatedmipmapslinear

Making mipmaps with pixel art look better?

For my textures, I am trying to go for an art style that is Minecraft-esque, where I use a lot of tiling of 32x32 textures. To preserve the hard pixelated edges, I use point-filtering for the textures. I created a test scene to show my issue.

Unfortunately, mipmaps look really bad with the low-resolution textures, as it becomes very noticeable where they transition: https://imgur.com/a/vyeRvlT

However, when I remove mipmaps, I get a lot of shimmering and ugliness at angles and distance: https://imgur.com/a/F9Cz8UA

I resized the 32x32 textures to 256x256, and used bilinear filtering with mipmaps, which looks great: https://imgur.com/a/7M0lZi9

This workaround, however, is not ideal. I want to preserve the hard edges, but up close the textures are smoothed out due to the linear filtering. Not to mention that 256x256 textures are 64 times larger than 32x32 textures, which is a waste of memory considering the art style I'm going for.

Is there a somewhat simple way that I can fix the issue? I want the mipmaps because they prevent the pixels from shimmering, but it's just too muddy and noticeable when using point-filtering for textures.

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 Harinezumi · May 04, 2018 at 07:16 AM 1
Share

Have you tried increasing the aniso level when you don't have mipmaps? To me the shimmering seems to be due to the low(er) viewing angle, for which anisotropic filtering was invented (if I remember correctly).

avatar image doctordingus Harinezumi · May 04, 2018 at 07:19 AM 0
Share

Thanks for the suggestion. Unfortunately, the option for increasing the aniso level is greyed out when using the point filter mode. Unless I'm missing something, I think that's only possible with the linear filter modes.

avatar image Harinezumi doctordingus · May 04, 2018 at 07:28 AM 0
Share

Ah, right, I forgot about that. Then I'm out of ideas :(

avatar image doctordingus · May 04, 2018 at 11:47 AM 0
Share

Bumpity bump?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by doctordingus · May 04, 2018 at 11:02 PM

bump? I really want to see if there is a solution that doesn't involve custom shaders, but I'm thinking that's probably what it'll be.

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

Answer by brycedaawg · Feb 11, 2021 at 02:02 AM

Bump! Anybody find a workaround for this? It would be great if minification filter, magnification filter, mipmap mode, and anisotropy were able to be set independently, as underlying graphics APIs allow you to do.

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 doctordingus · Feb 11, 2021 at 04:22 PM 0
Share

I never solved this. I was unfamiliar with shaders and what not, but I think that will be the solution. $$anonymous$$aybe writing a shader that at a certain distance will average the colors of the surrounding pixels. I did once find a paid shader in the asset store that looks like it accomplished what I wanted but I never used it because it doesn't support shadows: https://assetstore.unity.com/packages/vfx/shaders/retro-aa-65509

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

83 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

Related Questions

How to make pixel art textures for a 3D game look better? 2 Answers

How to get mipChain and linear values from existing Texture2D 0 Answers

Sprites pixelated, how to make them clear? 0 Answers

Is it possible to default sprites to Point (No filter) instead of Bilinear? 0 Answers

Changing Filter Mode of All Textures 0 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