added version control for postprocessing (Curvature effect only for API 19)