You don't necessarily need to recognize layers though. Just toggle on/off the floor disappearing and scroll to zoom in and out, the camera can clip through the floor/ceiling if it needs to by scrolling in enough. Especially when I toggle the tactical camera on, which is a top down view, the entire second floor doesn't need to vanish, but it does and there's no camera movements I can do to make it appear. Just toggle that setting on/off with a single button and this problem is fixed, and if Larian doesn't do it I guarantee there will be a mod that does.