Hi everyone,
I’m working with two cameras in my Unity project:
- Cam A – Main camera (renders the entire scene).
- Cam B – Secondary camera (used only to render my player with a custom shader).
The issue is:
- Cam B is not moving with the player.
- My player moves fine in the main camera, but the secondary camera stays static.
- The player’s resolution/appearance changes depending on the player’s size.
- When my character scales up or down, Cam B seems to render it differently (stretched or pixelated).
- Camera positions are different.
- For testing, I placed one camera at the bottom (near collectibles – random dots) and the other on top.
- Everything renders correctly in the main camera, but Cam B doesn’t seem to properly align or “collide” visually with the collectibles (sorting layers look fine, and I set the player to the correct camera layer and sorting layer).
I’ve set the layers properly (player only visible to Cam B), and everything is fine on the main camera. But Cam B doesn’t follow the player or keep the resolution consistent.
Any suggestions on how to fix this?
Thanks in advance!
