• Image
  • Image
  • Image
  • Image
  • Current Version: 1.47: 2020-07-23T08:20:39Z
  • First Published: 2016-06-16T21:00:32Z
  • Size: 55408
  • Supported Unity Versions: 5.6.6
tools camera

Pixel Perfect Camera

(119 Votes)
$4.98 $4.98

Pixel Perfect Camera script gives more control over the camera size and enables pixel perfect rendering for pixel art Sprites and Canvas elements.

HTML 5 demo | Forum | Blog Post

Pixel perfect: adjusts the camera size so that each sprite pixel is rendered to an integer number of screen pixels. This is very important when you render pixel art using "point sampling".

Camera width: specify the camera width instead of height (the default Unity camera allows you to set only the camera height).

Size constraints: you can optionally set the maximum allowed camera width or height. This is useful if for example the user has an ultra wide monitor and you don't want your camera's width to be wider than some amount. The script will choose a camera size that respects all constraints.

Retro snap: makes sprites and game objects snap to the artwork's pixel grid producing a snappy retro motion.

Pixel snap: makes sprites and game objects snap to screen's pixel grid eliminating artifacts and jittering related to subpixel positioning that can occur even in pixel perfect resolutions.

Canvas support: UI elements under a Canvas can be rendered in a pixel-perfect way.

This asset uses "background.png" under CC0 License; see Third-Party Notices.txt file in package for details.


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!