My Authors
Read all threads
✨Unity Pixel Art Tips 2019✨

Now it's easier than ever to set up a Pixel Art project in Unity. Follow this tutorial and those pixels will look SUPER SEXY!

(RT to spread happiness 💕)

#unity #tutorial #pixelart #gamedev #GGJ19 Image
🔹Turn off Anti Aliasing

After creating your 2D project, go to Edit -> Project Settings -> Quality and then:

Anti Aliasing -> Disabled

(If you have more than one Quality Level (Low, High, Ultra...), make sure to disable it on each one) Image
🔹Sprite Import Settings

Go to each of your sprites, and change these settings:

Filter Mode -> Point (no filter)
Compression -> None Image
🔹Pixels Per Unit (PPU)

You can use the PPU that you want, but for Pixel Art games it's often recommended to use your tile size in pixels. On this example, we will use a PPU of 16.

So for each sprite settings:

Pixel Per Unit -> 16 Image
🔹Camera Orthographic Size

One sprite pixel needs to equal one screen pixel. To achieve this, change the Orthographic Size of your camera:

Ortho size = Vertical Screen Resolution / PPU / 2

In this example, our resolution is 480x270 and our PPU 16:

270 / 16 / 2 = 8.4375 Image
🔹Snapping to Pixel Grid

Now your game is looking good on you base resolution. But when it is opened on larger resolutions (1920x1080 for example), sub-pixel positions appear!

To solve this, all you need to do is getting the Unity Pixel Perfect package -> Image
- Go to Window -> Package Manager
- Advanced -> Show preview packages
- Search 2D Pixel Perfect and install it! Image
- Select your Main Camera -> Add component -> Pixel Perfect Camera

Then fill component settings, in this example it would be:
- Assets Pixel Per Unit = 16
- Reference Resolution = 480x270
- Upscale Render Texture = Enabled
- Crop Frame = Enabled
- Stretch Fill = Enabled Image
Those last three properties are related to black bars and maintaining the viewport's aspect ratio while dealing with different resolutions. The values depend on your needs!

Final result should work like this:
That's all! Hope you find these tips useful. Share it with your pals and keep up the good work! 💕
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with Davitsu 🏮

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!