basically you need to render the view (camera or additional extra view) into a texture using bmap_for_entity instruction. the used model in most cases is a screen aligned quad (screen entity) and this entity has the postprocess shader applied to it.
about level geometry and shaders: better forget it, its slow and in most cases not suitable...