Integrated visibility API into draw loop for chromatic aberration