- Home /
Pixel Perfect Camera auto *zoom/scales* on different resolution
Here is my project's info
PPU: 32
Reference Resolution: 640x320
I'm using the Pixel Perfect Camera [PPC] from the Package Manager.
Now this works perfectly on a 1920x1080 screen res. However when you play the game on res like 1360x768 the in-game cam zooms a little bit out. So the more you use a lower resolution, the more sprites you see in the screen. It's not actually scaling the whole game. This works in reverse too - the more you use a higher res, the more "zoomed in" the screen is.
I tried disabling the PPC component, and everything works normally - whether on 1080 or 768 res, the sprites appear on their intended sizes, and the camera doesn't "auto zoom/scale" everything. So yeah this PPC component is really the one messing it all up. Is there any way to make this Pixel Perfect Camera work like the normal camera in Unity?
TLDR:
== Problem ==
You use a higher screen res: Sprites are in same scale (so you see less sprites as if the camera zooms in) You use a lower screen res: Sprites are in the same scale still (you see more sprites now like the camera zooms out)
== How it should be ==
You use a higher screen res: Sprites scale down (so you see the intended view and intended number of sprites) You use a lower screen res: Sprites scale up (so you still see the intended view and intended number of sprites)
i have this same problem, i almost want to give up on my game at this point since the pixel art is the core style of the game
Answer by ClearRoseOfWar · Feb 05 at 12:44 AM
I would also like to hear a solution for this problem. I am facing it too at this time. anyone have any suggestions?
Your answer
Follow this Question
Related Questions
How to retain absolute gameobject size in pixels no matter the resolution? 2 Answers
Pixel Perfect Camera - Change PPU by script depending on screen width/height 0 Answers
Make camera crop scene instead of scale/stretch it 0 Answers
My Text gets blurry with Pixel Perfect Camera and Upscale Render Textrures Active 0 Answers
Aquarium like camera 1 Answer