Pixel Perfect Multiple Cameras

Hi,

I’m having a slight problem getting what I want out of the Pixel Perfect Camera Asset. I have two cameras set up looking at the same scene, the main one is to render the vast majority of the game, and the other is for text above characters heads. I have the Pixel perfect camera set up on both cameras but I’m only upscaling the render texture on the main camera. This is to allow the main game to render Pixel perfect but so the world space text can float above everything without distorting. (I need the Pixel Perfect Camera on both cameras so the positions of the text boxes are correctly placed above the characters heads after scaling).

The problem is that this only seems to work in the editor. Once the game is built, the Upscale render texture applies to both cameras. Since the Text Camera is rendered on top of and after the Main camera, I’m having trouble pinning this down. Below is an image of what I am seeing.


Notice the game around the text is Pixel perfect (between the character and ground) but the text is different).
I know using the Pixel perfect camera like this kind of undermines the purpose of it to some extent. But I’m trying to marry together a few different packages and this is the best way I can see to make the text legible while maintaining the graphical quality I want in the rest of the game.

Cheers,
Rob

1 Like

Does anyone have an idea of what might be going on?

This seems like an easy fix or completely impossible.

I’m going to need to bump this. I haven’t managed to make progress figuring this out. Does anyone have any insight into why this would be different between the editor and build? The cameras are in the correct order or the text wouldn’t be visible at all. Except that the Pixel Perfect camera only applies in build on the text layer camera, not in the editor. (Looking to prevent it showing in either location).

Just gonna sneakily bump this again. I hope someone has an idea what is going on.

Hi. I have this problem too. Did you manage to find a solution? Thanks in advance.

As far as I’m aware it’s not possible. Here’s a video of a person that managed to implement it themselves:

, but honestly choosing which layers are pixelated and/or camera stacking for the pixel-perfect camera should be implemented out of the box. It’s a shame such essential feature is not there. It makes the pixel-perfect camera almost useless.

1 Like

Yeah. I would also like how to do it. He explains SOMEWHAT. Would love to see how this works

This is still a problem, I’m trying to do the same thing and it seems counterintuitive. Why bother putting this component on a camera if it applies to every camera in the scene? This is a sorely needed feature!