We have carried out calculations to model the hydrogen emission line spectrum of intermediate polars with accretion disks. We show that we can explain most of the observed optical continuum and line fluxes in terms of hard and soft X-rays that originate from the accretion shocks and are reprocessed in curtains formed by magnetically channelled material.