How to only render a layer through a window
Hello! I'm making a spaceship game, and I've decided to circumvent all of the weird issues of having a player walk around a moving object by separating the interior and exterior of the ship. The interior is stationary, while the exterior is what flies around. I have two linked cameras in each; the stationary one draws first, then the other one draws after. This way, you see the inside inside and the outside through the windows.
My problem is that this makes viewing your own ship exterior impossible. When you're in this situation, the inside is still drawn first, which makes everything all wonky. I'm trying to fix this by changing the draw order through ship windows, but I can't find any info on how to only change draw order on part of the screen. Any advice?