I'm trying to make it so certain objects parallax in the background of my 2D sidescroller. I'm using a perspective camera and an orthographic camera. The orthographic renders everything but the layer that I put my background object (In this case it's called "Jebidiah") in, and the perspective camera only renders the Jebidiah layer. Only problem is, well, this. You can probably see the problem. The big statue thing, well that's Jebidiah. As you can see, it's rendering above everything else. Of course, I don't want that to happen. So how can I fix this? Here's some images of the camera settings. Just for the heck of it, here's the Jebidiah object.
Just use one perspective camera. There's no particular reason to use orthographic for this that I can see. --Eric
I guess that is possible, but it'd take a whole lot more time and I'd have to rely entirely on the layer sorting for sorting objects.
Actually, there seems to be this problem that happens Sorting would be different due to the Z axis. I've been sorting certain objects with it. And it will take up time to make everything's Z axis to 0, and setting up everything to work with 2d sorting layers. There's also this problem where objects go behind other objects at random times, even though their Z axis is the same.Here's an example: