Photonic caustics