- Home /
Pixel perfect camera with split-screen - is it possible? (2D)
Hello, I'm working on a pixel-art game. The problem is simple: the gameplay will be based at two-players split-screen fight and I can't figure out how to set the split-screen compatible with pixel-perfect camera, because usually most of pixel perfect cam scripts or packages affect the parameters needed to setting split-screen (VIEWPORT RECT).
So there are questions:
Is there any way to set split-screen without adjusting viewport rect parameter?
Is there any way to make camera pixel perfect without affecting viewport rect and making it broken?
Thank you so much!
Answer by XazeRekt · Jun 29, 2020 at 12:33 AM
Hello. I know it's a bit old question. I have been struggling with the same problem, but after some time i figured it out. Check this link for an answer: https://stackoverflow.com/questions/62629382/why-its-impossible-to-change-camera-viewport-rect-while-using-pixelperfect-came/62629638#62629638
Your answer
![](https://koobas.hobune.stream/wayback/20220612193407im_/https://answers.unity.com/themes/thub/images/avi.jpg)