I'm using Graphics.Blit( background, RenderTexture.active ) to render a static hand-drawn room in perspective with a static camera placed precisely (much like the early Resident Evil games) to show the player walking around the level in 3rd person perspective. In my artwork, there maybe an object that would hide part of the player as he walks behind it (say... a shrub). I assumed I would be able to do this with a cube object with rendering turned off or something, but to my surprise, that makes the cube completely transparent rather than obscuring the part of player that should be behind it.
Any idea how I can have a cube be basically invisible (displaying the shrub from the 2d background image) but at the same time, hide the parts of the player's model walking behind the cube to create the illusion that the player is balking behind the shrub?
Thanks in advance!