I'm trying to make transparent object (let's name it "Filter") that can be seen through just like it's not even there, but it will make some specific objects(let's call them "Ghost") invisible when "Ghost" are behind "Filter" from camera view. If "Ghost" comes in front of "Filter", we will able to see it normally. When the "Ghost" is behind the "Filter", player can't see it but may able to see other objects When the "Ghost" come through the "Filter", player will able to see it just fine. That is how I want it to be. Please help me!! I'm quite new in these Shader stuffs!!