So If your player material surface transparent domain this would work
If not default opaque the other way I showed.
Also if you tell me wheter your camera is we can find other ways to do it. Like camera distance, objectposition comparision etc. Basically its doable however the ways I demonstrate is for free camera.
It is also possible to compare depth to house vs player so would be easier that way.
