#Forcing Resolution with Pixel Perfect Camera

1 messages · Page 1 of 1 (latest)

sand vale
#

I am working on a game with a pixel artstyle and using the Pixel Perfect 2D Camera with an Upscale Render Texture so that I can make non-sprite objects (i.e lines and meshes) appear pixelated.
This works as expected at some resolutions, but if the viewport is too large or small the Pixel Perfect Camera picks different zoom factors, causing more of the game to be visible. This does not work well for our game since it's mostly UI and we're designing around one consistent playable resolution and zoom factor. How can I make the Pixel Perfect Camera component scale the game window larger instead of zooming out with higher resolutions?

#

(In other words I want this to work like an emulator for an old console game, where the dimensions never change but the display gets scaled up if possible)