How to make something visible only through a doorway?

ended up creating an occluding mesh and applying a 100% black material to it.