Pixel Perfect Camera distorts my isometric game


I am a beginner in Unity and am trying to make a 2D isometric game. I am trying to use the Pixel Perfect Camera component from the 2D Pixel Perfect package, but on Play mode the view of my isometric tiles and sprites gets distorted from ratio 2:1 to 1:1.

How it looks with the Pixel Perfect enabled:
how it looks with Pixel Perfect Enabled

How it looks with the Pixel Perfect disabled:
how it should look and looks without the pixel perfect component

I need the Pixel Perfect camera because I am trying to keep the UI pixelation consistent with the rest of the game and have it move with the main camera.

  • All my sprites are with PPU 32
  • My Pixel Perfect PPU is set to 32
  • No matter what resolution I put, the problem is there, but I wanted it to be 512×216.
  • I am using an Isometric Grid with 1:0.5 ratio for the background tiles. The tiles are drawn isometric and the camera is not tilted.
  • I tried all the settings on the Pixel Perfect Camera, but none made significant difference.

I am not very good with sizing and resolutions and am trying to understand better. It feels like I am missing something obvious.

This is my Pixel Perfect Component:
enter image description here



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *