Oral title: The close environments of local AGN Oral abstract: Most of the accretion onto supermassive black holes happens during a phase in which the AGN is obscured. However, to date it is not clear what is the mechanism regulating the amount of obscuration around supermassive black holes, and how accretion and obscuration are related. In my talk I will show how obscuration is related to the properties of the accreting system, and present a new simulation platform, RefleX, which allows to reproduce absorption and reflection by quasi-arbitrary geometries.