PixelArtCamera

Pole

(0)
FREE
Publisher Pole
File size 102.59kB
Number of files 150
Latest version 0
Latest release date 2021-05-27 12:18:13
First release date 2021-05-27 12:18:13
Supported Unity versions 2018.4.2 or higher
PixelArtCamera

A simple Unity camera tool that can be used to render pixel art with pixel perfect precision at any resolution.

How it works

This tool works by rendering the game at the target resolution and then upscale it by the biggest possible integer factor.
This way, the pixel art will always remain pixel perfect with no artifacts.

The source code is quite simple and heavily commented, so feel free to dig into it and modify it to suit your needs.

Pixel Perfect Text

This tool requires TextMeshPro in order to achieve crispy pixel perfect text.
In the example scene it is also showed how to set up a TMP font asset.
If you're having troubles with it, try reading some guides about pixel perfect fonts with TMP and keep fiddling with it.

UI

Unity UI is not yet supported, since usually games that requires pixel perfect precision should not need auto-scaling ui systems like the one provided by Unity.

These games should be able to build their own ui with just sprites and text meshes.

Contacts

If you have questions or requests for new features, feel free to contact me on Discord at Pole#9615 This asset is open source: if you'd like to contribute to the it, you can find it on github.

Licenses

All the art assets are from Kenney. Licenses are included for both the font and the tilemap.

Top Publisher Assets