Context. In gamma-ray binaries such as LS 5039 a large number of electron-positron pairs are created by the annihilation of primary very high energy (VHE) gamma-rays with photons from the massive star. The radiation from these particles contributes to the total high energy gamma-ray flux and can initiate a cascade, decreasing the effective gamma-ray opacity in the system. Aims. The aim of this ...